From 39085a622bd85a13a837b5c1e7de84c925cbf5af Mon Sep 17 00:00:00 2001 From: LadyRick Date: Thu, 19 Aug 2021 21:21:23 +0800 Subject: [PATCH] fix(cpp): fix integer suffix regex (CI passed) --- src/cpp/cpp.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpp/cpp.ts b/src/cpp/cpp.ts index 7d723ff7..6b4eef50 100644 --- a/src/cpp/cpp.ts +++ b/src/cpp/cpp.ts @@ -273,7 +273,7 @@ export const language = { // we include these common regular expressions symbols: /[=>{ [/\*\//, 'comment', '@pop'], [/[\/*]/, 'comment'] ], - + //For use with continuous line comments linecomment: [ [/.*[^\\]$/, 'comment', '@pop'], [/[^]+/, 'comment'] ], - + //Identical copy of comment above, except for the addition of .doc doccomment: [ [/[^\/*]+/, 'comment.doc'],