Opened 9 years ago

Closed 9 years ago

#2941 closed Bug (Fixed)

Tidy doesn't find Then on a continuation line in a #Tidy_Off block

Reported by: AlanParry Owned by:
Milestone: Component: Other
Version: Other Severity: None
Keywords: Tidy #Tidy_Off Cc:


This :-

#Tidy_Parameters/pr=1 /prc=1 /uv=3 /tc=4 /scb /sefc /serc /ewnl

Func Demo ()

    If  True Or _
        True Then
	Local $i = 1


causes ";### Tidy Error: If/ElseIf statement without a then.." on the If statement.

There is no error when not in the #Tidy_Off block.
There is no error if the If...Then is all on one line.
As far as I can tell, no other #Tidy_Parameters effect the behaviour, but I've shown you what I used anyway.

This is on Tidy version 14.801.1932.0 (August 2014)

Alan Parry

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Jos

  • Resolution set to Fixed
  • Status changed from new to closed

This is already fixed in the available beta version of Tidy.


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 ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.