Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix resolving of properties declared and used in/from a namespace (#306)
This is a follow-up of #297, which resolved a corresponding issue for macro names only. As we have separate dicts for macros and symbols, we need to resolve both of them.
- Loading branch information
Showing
4 changed files
with
33 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<a xmlns:xacro="http://www.ros.org/wiki/xacro"> | ||
<xacro:include filename="./inner.xacro" /> | ||
<xacro:property name="var" value="3"/> | ||
<xacro:macro name="foo"> | ||
<xacro:element xacro:name="inc${var}" included="${included}"/> | ||
<xacro:included/> | ||
</xacro:macro> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0"?> | ||
<defs xmlns:xacro="http://www.ros.org/wiki/xacro"> | ||
<xacro:property name="included" value="inner" /> | ||
<xacro:macro name="included"><inner/></xacro:macro> | ||
</defs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters