Skip to content

Commit

Permalink
Fixed issue where comments break on Windows
Browse files Browse the repository at this point in the history
MichaelZhao21 committed Nov 14, 2022
1 parent 421dc4e commit 3270d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokens.jflex
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ Whitespace = [ \n\t\r]
Identifier = [A-Za-z][A-Za-z0-9]*
IntegerLiteral = [0-9]+
FloatLiteral = [0-9]+\.[0-9]+
Comment = (\\\\.*\n)|(\\\*(.|\R)*\*\\)
Comment = (\\\\.*\R)|(\\\*(.|\R)*\*\\)

%state STRING
%state CHAR

0 comments on commit 3270d3d

Please sign in to comment.