Add block comments
This commit is contained in:
parent
6d3dd1c8cb
commit
eec21c84da
5 changed files with 2347 additions and 1744 deletions
21
src/grammar.json
generated
21
src/grammar.json
generated
|
|
@ -34,6 +34,23 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"block_comment": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "/*"
|
||||
},
|
||||
{
|
||||
"type": "PATTERN",
|
||||
"value": "[^*]*\\*+([^/*][^*]*\\*+)*"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"assignment": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
|
|
@ -936,6 +953,10 @@
|
|||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "line_comment"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "block_comment"
|
||||
}
|
||||
],
|
||||
"conflicts": [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue