diff options
| author | Evan Haas <evan@lagerdata.com> | 2022-08-21 10:58:08 -0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-08-26 11:24:57 +0300 |
| commit | bcaa9df5b42747577dcb529a99f6da6d69e09309 (patch) | |
| tree | 3e3a96c92a7db9c2da04d8a1e09d1eae8c106965 /src/stage1/codegen.cpp | |
| parent | d6bb9af18da6f1e6d4e62a111c69a58c91b21a7e (diff) | |
| download | zig-bcaa9df5b42747577dcb529a99f6da6d69e09309.tar.gz zig-bcaa9df5b42747577dcb529a99f6da6d69e09309.zip | |
translate-c: Don't add self-defined macros to global name table
A self-defined macro is one of the form `#define FOO FOO`
Those types of macros have never been translated; this change will cause
any macros which refer to them to be translated as `@compileError` instead
of referring to a non-existent identifier.
Closes #12471
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions
