make lexer case insensitive
This commit is contained in:
parent
0609575139
commit
3bbac39c9c
4035
parser/scanner.go
4035
parser/scanner.go
File diff suppressed because it is too large
Load Diff
@ -41,6 +41,7 @@ func (l *lexer) Lex(lval *yySymType) int { // Lex(lval *yySymType)
|
||||
%yyc c
|
||||
%yyn c = l.Next()
|
||||
%yym l.Mark()
|
||||
%optioncase-insensitive
|
||||
|
||||
LNUM [0-9]+
|
||||
DNUM ([0-9]*"."[0-9]+)|([0-9]+"."[0-9]*)
|
||||
|
Loading…
Reference in New Issue
Block a user