diff --git a/compiler/2014/LabCommScanner.flex b/compiler/2014/LabCommScanner.flex index b58cbb6be2e454ef90b750cb61d12fcef890d48c..baf91ee4bd5eee749866308f8b4db6371368d25a 100644 --- a/compiler/2014/LabCommScanner.flex +++ b/compiler/2014/LabCommScanner.flex @@ -44,7 +44,7 @@ Comment = {TraditionalComment} TraditionalComment = "/*" [^*] ~"*/" | "/*" "*"+ "/" | "/*" "*"+ [^/*] ~"*/" EndOfLineComment = "//" {InputCharacter}* {LineTerminator}? -Identifier = [:jletter:][:jletterdigit:]* +Identifier = [[:letter:]_]([[:letter:]_[:digit:]])* DecimalNumeral = 0 | {NonZeroDigit} {Digits}? Digits = {Digit}+