Modify

Opened 13 months ago

Last modified 12 months ago

#3667 assigned Bug

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: 3.3.14.5 Severity: None
Keywords: Cc:

Description

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', _
    'short')

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

Attachments (0)

Change History (3)

comment:1 Changed 13 months ago by Jos

Even simpler example. This is ok:

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

This is not:

Global Const _
		$T1=1, _
		 _
		$T3=3

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?
Jos

Last edited 13 months ago by Jos (previous) (diff)

comment:2 Changed 13 months ago by Jos

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

comment:6 Changed 12 months 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.

Jos

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

Action
as assigned The owner will remain Jon.
Author


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

 
Note: See TracTickets for help on using tickets.