3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-30 16:03:17 +00:00

Add YS_ prefix to macros, add explanation and apply to older version as well

This commit is contained in:
Miodrag Milanovic 2020-03-13 17:19:54 +01:00
parent 5b73e7c63a
commit 8f221118d2
4 changed files with 33 additions and 30 deletions

View file

@ -413,13 +413,13 @@ int main(int argc, char **argv)
scriptfile_tcl = true;
break;
case 'W':
log_warn_regexes.push_back(REGEX_COMPILE(optarg));
log_warn_regexes.push_back(YS_REGEX_COMPILE(optarg));
break;
case 'w':
log_nowarn_regexes.push_back(REGEX_COMPILE(optarg));
log_nowarn_regexes.push_back(YS_REGEX_COMPILE(optarg));
break;
case 'e':
log_werror_regexes.push_back(REGEX_COMPILE(optarg));
log_werror_regexes.push_back(YS_REGEX_COMPILE(optarg));
break;
case 'D':
vlog_defines.push_back(optarg);