Add comments
This commit is contained in:
parent
bc06816b57
commit
26b6891160
5 changed files with 250 additions and 69 deletions
17
src/grammar.json
generated
17
src/grammar.json
generated
|
|
@ -17,6 +17,19 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"comment": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "#"
|
||||
},
|
||||
{
|
||||
"type": "PATTERN",
|
||||
"value": ".*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"assignment": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
|
|
@ -81,6 +94,10 @@
|
|||
{
|
||||
"type": "PATTERN",
|
||||
"value": "\\s+"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "comment"
|
||||
}
|
||||
],
|
||||
"conflicts": [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue