Disable keyword extraction
For now bare keywords are errors, since we have not included them as valid expressions.
This commit is contained in:
parent
50c8e3c0e6
commit
0bc7e59fc7
4 changed files with 522 additions and 367 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"name": "tiger",
|
||||
"word": "identifier",
|
||||
"rules": {
|
||||
"source_file": {
|
||||
"type": "CHOICE",
|
||||
|
|
@ -72,6 +73,10 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"identifier": {
|
||||
"type": "PATTERN",
|
||||
"value": "[_a-zA-Z0-9]+"
|
||||
},
|
||||
"escape_sequence": {
|
||||
"type": "IMMEDIATE_TOKEN",
|
||||
"content": {
|
||||
|
|
|
|||
857
src/parser.c
857
src/parser.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue