edk2/BaseTools/Source
Nate DeSimone bf99048365 BaseTools: Add support for GCC preprocessor line directives
This change adds support for GCC-style preprocessor line
directives as documented in:
https://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html

On Windows systems, one can use line-markers to see  which .vfr
file was used to generate a *.i file in the Build directory.
This is useful for debugging VFR compilation failures.

With this change, the VfrCompiler will not generate compilation
errors if the *.i file contains GCC-style line-markers. Without
this change, one must disable the pre-processor's emission of
line-markers, removing the debug aid they provide.

Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2025-04-28 22:59:30 +00:00
..
C BaseTools: Add support for GCC preprocessor line directives 2025-04-28 22:59:30 +00:00
Python BaseTools:Expression.py Adding a check for missing '}' in the parser 2025-04-14 20:53:02 +00:00