#4105 new Bug

bug with ContinuationLine after directive — at Version 1

Reported by: mLipok Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.0 Severity: None
Keywords: Cc:

Description (last modified by mLipok)

Repro script

_Example()
Func _Example()
        #TODO => test _
        ConsoleWrite("! " & @CRLF)
EndFunc   ;==>_Example

Error output

---------------------------
AutoIt Error
---------------------------
Line 2  (File "Z:\test.au3"):

Func _Example()ConsoleWrite("! " & @CRLF)

Error: Illegal text at the end of statement (one statement per line).
---------------------------
OK   
---------------------------

another example

_Example()
Func _Example()
        #Region - test _

        #EndRegion - test _
        ConsoleWrite("! " & @CRLF)
EndFunc   ;==>_Example

result:

---------------------------
AutoIt Error
---------------------------
Line 2  (File "Z:\test.au3"):

Func _Example()ConsoleWrite("! " & @CRLF)

Error: Illegal text at the end of statement (one statement per line).
---------------------------
OK   
---------------------------

I'm not sure if this is bug or not

Please consider to fix this.

Change History (1)

comment:1 by mLipok, on Jun 26, 2026 at 10:15:29 PM

Description: modified (diff)
Note: See TracTickets for help on using tickets.