@ -610,7 +610,7 @@ export var language = <ILanguage> {
[/\(\*/, 'comment', '@push' ],
[/\(\*/, 'comment.invalid' ],
[/\*\)/, 'comment', '@pop' ],
[/.*/, 'invalid']
[/\*/, 'comment']
],
lexing_COMMENT_block_c: [
[/[^\/*]+/, 'comment' ],
@ -177,6 +177,12 @@ testTokenization('postiats', [
{ startIndex: 0, type: 'comment.pats' }
]}],
[{
line: '(* ****** ****** *)',
tokens: [
line: 'var x : int = (* a simple comment *) 1;',