more real world exampls; fix scanner when scanning empty character in lexer

This commit is contained in:
mhoffm
2021-06-21 19:40:27 +02:00
parent 3bc4153bc2
commit a7f23cc579
2020 changed files with 64141 additions and 10630 deletions

View File

@@ -25,6 +25,10 @@
{
"type": "SYMBOL",
"name": "block"
},
{
"type": "SYMBOL",
"name": "object"
}
]
}
@@ -587,8 +591,17 @@
{
"type": "REPEAT",
"content": {
"type": "SYMBOL",
"name": "get_attr"
"type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "get_attr"
},
{
"type": "SYMBOL",
"name": "index"
}
]
}
}
]