codebuff icon indicating copy to clipboard operation
codebuff copied to clipboard

Grammer failed to recognize single quote inside string literal

Open adidamty opened this issue 2 years ago • 0 comments

Hi,

Grammer failed to recognize single quote inside string literal.

I am getting error message: no viable alternative at input 'Select * from table_name where (Directory_name FileServer='BL006-FS1' and Directory = 'C:\D'Intrusion'."

What is the change required to STRING_LITERAL ?

STRING_LITERAL : ''' ( ~''' | '''' )* ''' ;

adidamty avatar Mar 22 '23 07:03 adidamty