Opened 6 years ago

Closed 2 years ago

#3667 closed Bug (Fixed)

Continuation line with no code on it passes Au3Check but at runtime "Error parsing function call"

Reported by: c.haslam Owned by: Jon
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


Try this script:

#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w 7

foo('cat', _
    'white', _
 _ ;    'black', _

Func foo($ani,$colour,$fur)
    MsgBox(0,'',$colour&' '&$ani&' has '&$fur&' fur')

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by Jos

Even simpler example. This is ok:

Global Const _
		$T1=1, _
		$T2=2, _

This is not:

Global Const _
		$T1=1, _

Giving this error:

"...test.au3" (1) : ==> No variable given for "Dim", "Local", "Global", "Struct" or "Const" statement.:
Global Const $T1=1, _
Global Const $T1=1, ^ ERROR

So the question is whether just a continuation character on a line is valid syntax?

Last edited 6 years ago by Jos (previous) (diff)

comment:2 Changed 6 years ago by Jos

  • Owner set to Jon
  • Status changed from new to assigned

comment:6 Changed 6 years ago by Jos

@c.haslam, please stop adding stuff to the report. The basic question is clear and that is the only thing that needs to be answered in this report.

Don't know who added the AutoitUpdate image and issue, but that has been removed from this topic as there is no relation what so ever. Simply create a new issue in case you find one.


comment:7 Changed 3 years ago by Jpm

  • Owner changed from Jon to Jpm

Fix sent to Jon

comment:5 Changed 2 years ago by Jon

  • Milestone set to
  • Owner changed from Jpm to Jon
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed by revision [12634] in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jon.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.