mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-18 21:25:47 +00:00
Fix define ID issue, needs undef first
This commit is contained in:
parent
1b3375d8df
commit
1c15b51cee
1 changed files with 1 additions and 0 deletions
|
|
@ -552,6 +552,7 @@ template <> struct IDMacroHelper<-1> {
|
|||
}
|
||||
};
|
||||
|
||||
#undef ID
|
||||
#define ID(_id) \
|
||||
YOSYS_NAMESPACE_PREFIX IDMacroHelper< \
|
||||
YOSYS_NAMESPACE_PREFIX lookup_well_known_id(#_id) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue