8000 Add namespace to global variables. · Erignik/robotpy-cppheaderparser@688d3e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 688d3e5

Browse files
author
Grand Joldes
committed
Add namespace to global variables.
1 parent 6af545b commit 688d3e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CppHeaderParser/CppHeaderParser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,6 +2491,7 @@ def _evaluate_property_stack(self, clearStack=True, addToVar=None):
24912491
self._get_stmt_doxygen(),
24922492
self._get_location(self.nameStack),
24932493
)
2494+
newVar["namespace"] = self.current_namespace()
24942495
if addToVar:
24952496
newVar.update(addToVar)
24962497
self.variables.append(newVar)

0 commit comments

Comments
 (0)
0