Fix line comments syntax
Don't write parsers after midnight kids. For the explanation: I mixed up the syntax bits between Blueprint and textual protocol buffers...
This commit is contained in:
parent
7bacff2471
commit
6d3dd1c8cb
5 changed files with 770 additions and 753 deletions
6
src/grammar.json
generated
6
src/grammar.json
generated
|
|
@ -21,12 +21,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"comment": {
|
||||
"line_comment": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "#"
|
||||
"value": "//"
|
||||
},
|
||||
{
|
||||
"type": "PATTERN",
|
||||
|
|
@ -935,7 +935,7 @@
|
|||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "comment"
|
||||
"name": "line_comment"
|
||||
}
|
||||
],
|
||||
"conflicts": [],
|
||||
|
|
|
|||
18
src/node-types.json
generated
18
src/node-types.json
generated
|
|
@ -172,11 +172,6 @@
|
|||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "default_case",
|
||||
"named": true,
|
||||
|
|
@ -259,6 +254,11 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "line_comment",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "list_expression",
|
||||
"named": true,
|
||||
|
|
@ -632,10 +632,6 @@
|
|||
"type": "\"",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "#",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "(",
|
||||
"named": false
|
||||
|
|
@ -652,6 +648,10 @@
|
|||
"type": "-",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "//",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": ":",
|
||||
"named": false
|
||||
|
|
|
|||
1479
src/parser.c
generated
1479
src/parser.c
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue