Merge pull request #1787 from kianmeng/fix-typos

Fix typos
This commit is contained in:
Max Brunsfeld 2022-08-25 10:25:39 -07:00 committed by GitHub
commit 6b87326470
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,