Add used language to --preproc-resolve output (#5795)

This commit is contained in:
Kamil Rakoczy
2025-02-25 07:03:25 -05:00
committed by GitHub
parent b35ab0b843
commit 3ab89d5be7
4 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -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