mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Add used language to --preproc-resolve output (#5795)
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ protected:
|
||||
if (modfilename.empty()) return false;
|
||||
|
||||
// Set language standard up front
|
||||
if (!v3Global.opt.preprocOnly()) {
|
||||
if (!v3Global.opt.preprocOnly() || v3Global.opt.preprocResolve()) {
|
||||
// Letting lex parse this saves us from having to specially en/decode
|
||||
// from the V3LangCode to the various Lex BEGIN states. The language
|
||||
// of this source file is updated here, in case there have been any
|
||||
|
||||
Reference in New Issue
Block a user