Skip to content

Commit 72001be

Browse files
committed
regenerate the parser
1 parent a31fe42 commit 72001be

File tree

3 files changed

+48301
-49314
lines changed

3 files changed

+48301
-49314
lines changed

src/grammar.json

+12-29
Original file line numberDiff line numberDiff line change
@@ -8173,35 +8173,6 @@
81738173
}
81748174
]
81758175
},
8176-
"comment": {
8177-
"type": "CHOICE",
8178-
"members": [
8179-
{
8180-
"type": "SYMBOL",
8181-
"name": "line_comment"
8182-
},
8183-
{
8184-
"type": "SYMBOL",
8185-
"name": "block_comment"
8186-
}
8187-
]
8188-
},
8189-
"line_comment": {
8190-
"type": "TOKEN",
8191-
"content": {
8192-
"type": "SEQ",
8193-
"members": [
8194-
{
8195-
"type": "STRING",
8196-
"value": "//"
8197-
},
8198-
{
8199-
"type": "PATTERN",
8200-
"value": ".*"
8201-
}
8202-
]
8203-
}
8204-
},
82058176
"_path": {
82068177
"type": "CHOICE",
82078178
"members": [
@@ -8382,6 +8353,10 @@
83828353
{
83838354
"type": "SYMBOL",
83848355
"name": "block_comment"
8356+
},
8357+
{
8358+
"type": "SYMBOL",
8359+
"name": "doc_comment"
83858360
}
83868361
],
83878362
"conflicts": [
@@ -8427,6 +8402,14 @@
84278402
{
84288403
"type": "SYMBOL",
84298404
"name": "block_comment"
8405+
},
8406+
{
8407+
"type": "SYMBOL",
8408+
"name": "line_comment"
8409+
},
8410+
{
8411+
"type": "SYMBOL",
8412+
"name": "doc_comment"
84308413
}
84318414
],
84328415
"inline": [

src/node-types.json

+4
Original file line numberDiff line numberDiff line change
@@ -4939,6 +4939,10 @@
49394939
"type": "default",
49404940
"named": false
49414941
},
4942+
{
4943+
"type": "doc_comment",
4944+
"named": true
4945+
},
49424946
{
49434947
"type": "dyn",
49444948
"named": false

0 commit comments

Comments
 (0)