Remove single-line comment style
This commit is contained in:
parent
7add08036c
commit
ef2b62a852
|
@ -317,13 +317,10 @@ module.exports = grammar({
|
|||
|
||||
at_keyword: $ => /@[a-zA-Z-_]+/,
|
||||
|
||||
comment: $ => token(choice(
|
||||
seq('//', /.*/),
|
||||
seq(
|
||||
comment: $ => token(seq(
|
||||
'/*',
|
||||
/[^*]*\*+([^/*][^*]*\*+)*/,
|
||||
'/'
|
||||
)
|
||||
))
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1571,22 +1571,6 @@
|
|||
"comment": {
|
||||
"type": "TOKEN",
|
||||
"content": {
|
||||
"type": "CHOICE",
|
||||
"members": [
|
||||
{
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "//"
|
||||
},
|
||||
{
|
||||
"type": "PATTERN",
|
||||
"value": ".*"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
|
@ -1603,8 +1587,6 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"extras": [
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue