Skip to content

Commit ba99c05

Browse files
authored
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
2 parents 4bfdc62 + ead0f92 commit ba99c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/yosys_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ RTLIL::IdString new_id_suffix(std::string_view file, int line, std::string_view
276276

277277
#define NEW_ID \
278278
YOSYS_NAMESPACE_PREFIX RTLIL::IdString::new_autoidx_with_prefix([](std::string_view func) -> const std::string * { \
279-
static const std::string *prefix = create_id_prefix(__FILE__, __LINE__, func); \
279+
static const std::string *prefix = YOSYS_NAMESPACE_PREFIX create_id_prefix(__FILE__, __LINE__, func); \
280280
return prefix; \
281281
}(__FUNCTION__))
282282
#define NEW_ID_SUFFIX(suffix) \

0 commit comments

Comments
 (0)