mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 02:25:35 +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") {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (tok == "`undefineall" && sv_mode) {
|
||||
defines.clear();
|
||||
global_defines_cache.clear();
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue