Skip to content

Commit

Permalink
Fix typo in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2a-42 committed Jun 2, 2024
1 parent cb5a2b0 commit 3ad45e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ A token list definition introduces a list of tokens (terminals) to the grammar.
It starts with the `token` keyword, ends with a `;` and contains a list of token names and corresponding token symbols.

A token name must start with a capital letter.
The token symbol is optional and delimited by single quatation marks.
The token symbol is optional and delimited by single quotation marks.
It is used in error messages and the generator of the `parser.rs` file.
In a regex a token can be referenced by its name or symbol.

Expand Down

0 comments on commit 3ad45e0

Please sign in to comment.