Skip to content

Commit

Permalink
Fix literals (#832)
Browse files Browse the repository at this point in the history
* node slow sync potential reasons

* fix: fix build

* fix literals identifiers

---------

Co-authored-by: Gleb Karavatski <[email protected]>
Co-authored-by: Aliaksandr Bahdanau <[email protected]>
Co-authored-by: Aliaksandr Bahdanau <[email protected]>
  • Loading branch information
4 people authored Nov 5, 2024
1 parent bf2add1 commit 9c02bba
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
8 changes: 6 additions & 2 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"**/*.md",
"**/*.mdx"
],
"dictionaries": ["tvm-instructions", "names", "commands"],
"dictionaries": ["tvm-instructions", "names", "commands", "examples"],
"dictionaryDefinitions": [
{
"name":"tvm-instructions",
Expand All @@ -19,7 +19,11 @@
{
"name":"commands",
"path":"./src/grammar/commands-dictionary.txt"
}
},
{
"name":"examples",
"path":"./src/grammar/examples-dictionary.txt"
},
],
"words": [
"ADNL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ These are invalid identifiers:
- `_`

Some more uncommon examples of valid identifiers:
- `123valid`
- `123validname`
- `2+2=2*2`
- `-valid`
- `0xdead`
- `{valid}`
- `-alsovalidname`
- `0xefefefhahaha`
- `{hehehe}`
- ``pa{--}in"`aaa`"``

These are also invalid identifiers:
Expand Down
3 changes: 3 additions & 0 deletions src/grammar/examples-dictionary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
validname
alsovalidname
xefefefhahaha

0 comments on commit 9c02bba

Please sign in to comment.