Skip to content

Grammer failed to recognize single quote inside string literal #47

Description

@adidamty

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
: ''' ( ~''' | '''' )* '''
;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions