Fix typos

This commit is contained in:
Kian-Meng Ang 2022-06-28 19:57:42 +08:00
parent 01df16ca9f
commit b8552ec6c4
11 changed files with 17 additions and 17 deletions

View file

@ -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",

View file

@ -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,