Modify ↓
Opened 11 years ago
Closed 11 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
Attachments (0)
Note:
See TracTickets
for help on using tickets.

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