Modify

Opened 6 years ago

Closed 3 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: 3.3.15.5 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 (5)

comment:1 Changed 6 years 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

Jos

Version 1, edited 6 years ago by Jos (previous) (next) (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.

Jos

comment:7 Changed 4 years ago by Jpm

  • Owner changed from Jon to Jpm

Fix sent to Jon

comment:5 Changed 3 years ago by Jon

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

Fixed by revision [12634] in version: 3.3.15.5

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 closed 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.