Modify

Opened 10 years ago

Closed 10 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:

Description

This :-

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

#Tidy_Off
Func Demo ()

    If  True Or _
        True Then
	Local $i = 1
    EndIf

EndFunc
#Tidy_On

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)

Regards
Alan Parry

Change History (1)

comment:1 Changed 10 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.

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

Author


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

 
Note: See TracTickets for help on using tickets.