Skip to content
Snippets Groups Projects
Commit 7e1a727f authored by René Schöne's avatar René Schöne
Browse files

Fix end-of-line-comment bug.

parent 430300f1
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ import org.jastadd.relast.parser.RelAstParser.Terminals;
WhiteSpace = [ ] | \t | \f | \n | \r | \r\n
TraditionalComment = [/][*][^*]*[*]+([^*/][^*]*[*]+)*[/]
EndOfLineComment = "//" [^\n|\r|\r\n]*
EndOfLineComment = "//" [^\n\r]*
Comment = {TraditionalComment} | {EndOfLineComment}
ID = [a-zA-Z$_][a-zA-Z0-9$_]*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment