From 335dec7ac558f05d2eaa57511f5202a2a19172c1 Mon Sep 17 00:00:00 2001 From: John Shahid Date: Wed, 13 Aug 2014 15:13:34 -0400 Subject: [PATCH] Remove an unused rule in the lexer --- parser/query.lex | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/parser/query.lex b/parser/query.lex index deb75c3418f..e6b842d3267 100644 --- a/parser/query.lex +++ b/parser/query.lex @@ -122,20 +122,6 @@ true|false { yylval->string = strdup(yy [a-zA-Z0-9_][a-zA-Z0-9._-]* { yylval->string = strdup(yytext); return TABLE_NAME; } -\" { BEGIN(IN_TABLE_NAME); yylval->string=calloc(1, sizeof(char)); } -\\\" { - yylval->string = realloc(yylval->string, strlen(yylval->string) + 1); - strcat(yylval->string, "\""); -} -\" { - BEGIN(INITIAL); - return TABLE_NAME; -} -[^\\"]* { - yylval->string=realloc(yylval->string, strlen(yylval->string) + strlen(yytext) + 1); - strcat(yylval->string, yytext); -} - [:\[a-zA-Z0-9_][:\[\]a-zA-Z0-9._-]* { yylval->string = strdup(yytext); return INTO_NAME; } \'[^\']*\' {