mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
Update Simple.flex
Changed the fallback character from . to [^] since this serves as a basis of other lexers.
This commit is contained in:
parent
41733505ef
commit
45e7f3cf97
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user