-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
This mode does not treat quoted strings as strings. I am aware this is on purpose:
;; In BNF there are no strings
;; so treat ' and " as a symbols
(modify-syntax-entry ?\" "_" table)
(modify-syntax-entry ?\' "_" table)All resources I could find about pure BNF (as opposed to EBNF and ABNF) show quoted strings.
This decision prevents specifying terminals as strings, especially strings containing a semicolon (unless escaped with a backslash as "\;").
I believe double quoted strings should be restored.
jpellegrini and nop
Metadata
Metadata
Assignees
Labels
No labels