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:
Bruno BELANYI 2024-04-08 08:41:25 +01:00
parent 7bacff2471
commit 6d3dd1c8cb
5 changed files with 770 additions and 753 deletions

6
src/grammar.json generated
View file

@ -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": [],