diff --git a/p4.YAML-tmLanguage b/p4.YAML-tmLanguage index 4358c81..2956ead 100644 --- a/p4.YAML-tmLanguage +++ b/p4.YAML-tmLanguage @@ -41,7 +41,7 @@ repository: patterns: - name: comment.block.p4 begin: \s*(/\*) - end: (\*/)(\n?) + end: (\*/) - name: comment.line.double.slash.p4 begin: \s*(//) end: (?<=$\n)(?begin \s*(/\*) end - (\*/)(\n?) + \s*(\*/) name comment.block.p4