Skip to content

Production names can't contain whitespace #597

@elhabert

Description

@elhabert

I wanted to have a \/[A-Za-z0-9-]+\/ "unknown directive" lex rule, but this turns out to produce an error. I haven't checked if Lex or Flex accept those inputs, but at least my syntax highlighter does.

IMO, regardless of whether spaces become allowed, it might be a good idea to document the accepted charset for token names?

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