Fix typos
This commit is contained in:
parent
01df16ca9f
commit
b8552ec6c4
11 changed files with 17 additions and 17 deletions
|
|
@ -2,7 +2,7 @@
|
|||
// specified directly in the body of some larger rule) are named according their content. So when
|
||||
// tokens contains characters that aren't valid in a C string literal, we need to escape those
|
||||
// characters. This grammar tests that this escaping works. The test is basically that the generated
|
||||
// parser compiles succesfully.
|
||||
// parser compiles successfully.
|
||||
|
||||
module.exports = grammar({
|
||||
name: "anonymous_tokens_with_escaped_chars",
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
},
|
||||
|
||||
// Tokens like '+' and '*' are described directly within the
|
||||
// grammar's rules, as opposed to in a seperate lexer description.
|
||||
// grammar's rules, as opposed to in a separate lexer description.
|
||||
"sum": {
|
||||
"type": "PREC_LEFT",
|
||||
"value": 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue