|
|
|
@ -1002,7 +1002,7 @@ module.exports = grammar({ |
|
|
|
|
|
|
|
// http://stackoverflow.com/questions/13014947/regex-to-match-a-c-style-multiline-comment/36328890#36328890
|
|
|
|
comment: $ => token(choice( |
|
|
|
seq('//', /(\\(.|\r?\n)|[^\\\n])*/), |
|
|
|
seq('//', /(\\+(.|\r?\n)|[^\\\n])*/), |
|
|
|
seq( |
|
|
|
'/*', |
|
|
|
/[^*]*\*+([^/*][^*]*\*+)*/, |
|
|
|
|