From a92943749050a02de38bc78ad224648fcf32507b Mon Sep 17 00:00:00 2001 From: Sertonix <83883937+Sertonix@users.noreply.github.com> Date: Wed, 1 Feb 2023 18:27:33 +0000 Subject: [PATCH] fix unsigned int not highlighted (#2725) --- runtime/syntax/c.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/c.yaml b/runtime/syntax/c.yaml index e0bea2ce..df770dc5 100644 --- a/runtime/syntax/c.yaml +++ b/runtime/syntax/c.yaml @@ -20,7 +20,7 @@ rules: - symbol.operator: "([.:;,+*|=!\\%]|<|>|/|-|&)" - symbol.brackets: "[(){}]|\\[|\\]" # Integer Constants - - constant.number: "(\\b([1-9][0-9]*|0[0-7]*|0[Xx][0-9A-Fa-f]+|0[Bb][01]+)([Uu]?[Ll][Ll]?|[Ll][Ll]?[Uu]?)?\\b)" + - constant.number: "(\\b([1-9][0-9]*|0[0-7]*|0[Xx][0-9A-Fa-f]+|0[Bb][01]+)([Uu][Ll]?[Ll]?|[Ll][Ll]?[Uu]?)?\\b)" # Decimal Floating Constants - constant.number: "(\\b(([0-9]*[.][0-9]+|[0-9]+[.][0-9]*)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)[FfLl]?\\b)" # Hexadecimal Floating Constants