make lexer case insensitive

This commit is contained in:
z7zmey 2017-12-17 22:42:40 +02:00
parent 0609575139
commit 3bbac39c9c
2 changed files with 2026 additions and 2010 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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]*)