mirror of https://github.com/YosysHQ/yosys.git
resetall does not affect text defines, but undefineall does
This commit is contained in:
parent
51f67e55f2
commit
545a3417c8
|
@ -961,6 +961,10 @@ frontend_verilog_preproc(std::istream &f,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tok == "`resetall") {
|
if (tok == "`resetall") {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tok == "`undefineall" && sv_mode) {
|
||||||
defines.clear();
|
defines.clear();
|
||||||
global_defines_cache.clear();
|
global_defines_cache.clear();
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue