mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 06:33:24 +00:00
resetall does not affect text defines, but undefineall does
This commit is contained in:
parent
51f67e55f2
commit
545a3417c8
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue