mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-23 14:11:28 +00:00
Merge pull request #5482 from rocallahan/newid-namespace
Add missing `YOSYS_NAMESPACE_PREFIX` to fix callers of `NEW_ID` that aren't in the Yosys namespace
This commit is contained in:
commit
ba99c05902
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ RTLIL::IdString new_id_suffix(std::string_view file, int line, std::string_view
|
||||||
|
|
||||||
#define NEW_ID \
|
#define NEW_ID \
|
||||||
YOSYS_NAMESPACE_PREFIX RTLIL::IdString::new_autoidx_with_prefix([](std::string_view func) -> const std::string * { \
|
YOSYS_NAMESPACE_PREFIX RTLIL::IdString::new_autoidx_with_prefix([](std::string_view func) -> const std::string * { \
|
||||||
static const std::string *prefix = create_id_prefix(__FILE__, __LINE__, func); \
|
static const std::string *prefix = YOSYS_NAMESPACE_PREFIX create_id_prefix(__FILE__, __LINE__, func); \
|
||||||
return prefix; \
|
return prefix; \
|
||||||
}(__FUNCTION__))
|
}(__FUNCTION__))
|
||||||
#define NEW_ID_SUFFIX(suffix) \
|
#define NEW_ID_SUFFIX(suffix) \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue