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
......@@ -44,7 +44,7 @@ Comment = {TraditionalComment}
TraditionalComment = "/*" [^*] ~"*/" | "/*" "*"+ "/" | "/*" "*"+ [^/*] ~"*/"
EndOfLineComment = "//" {InputCharacter}* {LineTerminator}?
Identifier = [:jletter:][:jletterdigit:]*
Identifier = [[:letter:]_]([[:letter:]_[:digit:]])*
DecimalNumeral = 0 | {NonZeroDigit} {Digits}?
Digits = {Digit}+
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment