Skip to content

Commit

Permalink
Handling escaped commands inside \if
Browse files Browse the repository at this point in the history
The handling of an escaped command was done not properly in by `\if` command disabled sections
  • Loading branch information
albert-github committed Mar 14, 2024
1 parent 195cfeb commit b5ced32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commentscan.l
Original file line number Diff line number Diff line change
Expand Up @@ -2377,6 +2377,7 @@ STopt [^\n@\\]*
}
<SkipGuardedSection>[^ \\@\n]+ { // skip non-special characters
}
<SkipGuardedSection>{CMD}{CMD} |
<SkipGuardedSection>. { // any other character
}

Expand Down

0 comments on commit b5ced32

Please sign in to comment.