Update Simple.flex

Changed the fallback character from . to [^] since this serves as a basis of other lexers.
This commit is contained in:
Steve Ramage 2018-08-22 18:26:49 -07:00 committed by GitHub
parent 41733505ef
commit 45e7f3cf97

View File

@ -41,4 +41,4 @@ KEY_CHARACTER=[^:=\ \n\t\f\\] | "\\ "
({CRLF}|{WHITE_SPACE})+ { yybegin(YYINITIAL); return TokenType.WHITE_SPACE; }
. { return TokenType.BAD_CHARACTER; }
[^] { return TokenType.BAD_CHARACTER; }