Skip to content

Commit

Permalink
cleanup: Add "etc." to the list of words.
Browse files Browse the repository at this point in the history
Since it ends in `'.'` the current parser struggles with it otherwise.
  • Loading branch information
iphydf committed Mar 10, 2022
1 parent 5e37899 commit 274f7e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Language/Cimple/Lexer.x
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ tokens :-
<cmtSC> [A-Z][A-Za-z]+"::"[a-z_]+ { mkL CmtWord }
<cmtSC> "E.g." { mkL CmtWord }
<cmtSC> "e.g." { mkL CmtWord }
<cmtSC> "etc." { mkL CmtWord }
<cmtSC> "I.e." { mkL CmtWord }
<cmtSC> "i.e." { mkL CmtWord }
<cmtSC> [0-2][0-9](":"[0-5][0-9]){2}"."[0-9]{3} { mkL CmtWord }
Expand Down

0 comments on commit 274f7e2

Please sign in to comment.