Skip to content

Allow rule definition operator on new line #4

@zmajeed

Description

@zmajeed

The lexer recognizes a new rule when the target nonterminal and definition operator are on the same line like <GQL-program> ::=. This simplification is fine for the GQL grammar file but not correct in general.
Fix to allow rules like

<program activity>
  ::=
    <session activity>
  | <transaction activity>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions