fix escape bug
This commit is contained in:
		@ -521,7 +521,7 @@ ROW_NUMBER\s*\(                            { yy.lexer.unput('('); yytext = 'row_
 | 
			
		||||
<backtickedValue>\`                        { this.popState(); return 'BACKTICK'; }
 | 
			
		||||
 | 
			
		||||
\'                                         { this.begin('singleQuotedValue'); return 'SINGLE_QUOTE'; }
 | 
			
		||||
<singleQuotedValue>(?:\\[']|[^'])+         {
 | 
			
		||||
<singleQuotedValue>(?:\\\\|\\[']|[^'])+         {
 | 
			
		||||
                                             if (parser.handleQuotedValueWithCursor(this, yytext, yylloc, '\'')) {
 | 
			
		||||
                                               return 'PARTIAL_VALUE';
 | 
			
		||||
                                             }
 | 
			
		||||
@ -530,7 +530,7 @@ ROW_NUMBER\s*\(                            { yy.lexer.unput('('); yytext = 'row_
 | 
			
		||||
<singleQuotedValue>\'                      { this.popState(); return 'SINGLE_QUOTE'; }
 | 
			
		||||
 | 
			
		||||
\"                                         { this.begin('doubleQuotedValue'); return 'DOUBLE_QUOTE'; }
 | 
			
		||||
<doubleQuotedValue>(?:\\["]|[^"])+         {
 | 
			
		||||
<doubleQuotedValue>(?:\\\\|\\["]|[^"])+         {
 | 
			
		||||
                                             if (parser.handleQuotedValueWithCursor(this, yytext, yylloc, '"')) {
 | 
			
		||||
                                               return 'PARTIAL_VALUE';
 | 
			
		||||
                                             }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user