Merge pull request #2440 from ganezdragon/doc-spelling-correction

docs: fix typo
This commit is contained in:
Amaan Qureshi 2023-07-29 11:52:31 -04:00 committed by GitHub
commit dbc9da249c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -715,7 +715,7 @@ This function is responsible for recognizing external tokens. It should return `
The third argument to the `scan` function is an array of booleans that indicates which of external tokens are currently expected by the parser. You should only look for a given token if it is valid according to this array. At the same time, you cannot backtrack, so you may need to combine certain pieces of logic.
```c
if (valid_symbols[INDENT] || valid_symbol[DEDENT]) {
if (valid_symbols[INDENT] || valid_symbols[DEDENT]) {
// ... logic that is common to both `INDENT` and `DEDENT`