From f03f96a091a3003d0c1b7c40f299fda7f00f09a4 Mon Sep 17 00:00:00 2001 From: Kunal Tyagi Date: Sun, 15 Sep 2024 09:12:00 +0900 Subject: [PATCH] No :: in function scope name --- nsiqcppstyle_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsiqcppstyle_checker.py b/nsiqcppstyle_checker.py index d61035c..ab72566 100644 --- a/nsiqcppstyle_checker.py +++ b/nsiqcppstyle_checker.py @@ -1211,6 +1211,7 @@ def ConstructContextInfo(lexer): lexer.PushTokenIndex() if t.type == "OPERATOR": fullName = fullName + operator_name.value + t.value = t.value + operator_name.value while True: prevName = lexer.GetPrevTokenSkipWhiteSpaceAndCommentAndPreprocess() if prevName is not None: @@ -1269,7 +1270,6 @@ def ConstructContextInfo(lexer): # RunFunctionRule(lexer, functionName, decl, contextStack, contextPrediction) t.type = "FUNCTION" - t.value = fullName t.fullName = fullName t.context = contextPrediction t.decl = not impl