Merge pull request 'fix wired namspace call in poco' (#22) from tcl_language_support into main
/ build_and_publish (push) Successful in 32s

Reviewed-on: #22
This commit was merged in pull request #22.
This commit is contained in:
2025-08-04 12:51:43 +00:00
+1 -1
View File
@@ -172,7 +172,7 @@ class _Highlighter(Visitor):
)
if routine.contents == "namespace" and command.args:
first_arg = command.args[1]
if hasattr(first_arg, "pos") and hasattr(first_arg, "value"):
if hasattr(first_arg, "pos") and first_arg.value is not None:
line, col = first_arg.pos
self._tokens.append(
(((line - 1, col - 1), len(first_arg.value), "class", []))