Skip to content
Snippets Groups Projects
Commit 0db2f8ce authored by Sven Gestegård Robertz's avatar Sven Gestegård Robertz
Browse files

added underscore to valid chars for identifier

Conflicts:
	compiler/2014/LabCommScanner.flex
parent 991de20e
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ Comment = {TraditionalComment}
TraditionalComment = "/*" [^*] ~"*/" | "/*" "*"+ "/" | "/*" "*"+ [^/*] ~"*/"
EndOfLineComment = "//" {InputCharacter}* {LineTerminator}?
Identifier = [:jletter:][:jletterdigit:]*
Identifier = [[:letter:]_]([[:letter:]_[:digit:]])*
DecimalNumeral = 0 | {NonZeroDigit} {Digits}?
Digits = {Digit}+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment