Skip to content

Commit b5ced32

Browse files
committed
Handling escaped commands inside \if
The handling of an escaped command was done not properly in by `\if` command disabled sections
1 parent 195cfeb commit b5ced32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commentscan.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,6 +2377,7 @@ STopt [^\n@\\]*
23772377
}
23782378
<SkipGuardedSection>[^ \\@\n]+ { // skip non-special characters
23792379
}
2380+
<SkipGuardedSection>{CMD}{CMD} |
23802381
<SkipGuardedSection>. { // any other character
23812382
}
23822383

0 commit comments

Comments
 (0)