diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-04-07 20:36:01 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-04-07 20:36:01 -0700 |
| commit | 12087d4cbaab39acadc29716e92765c92b92e28c (patch) | |
| tree | bb5447848ff6bdd3477aac5ab193363fd666abcf /src/codegen.zig | |
| parent | 4996c2b6a94b042d86b50eb61c9d8d98e63415af (diff) | |
| download | zig-12087d4cbaab39acadc29716e92765c92b92e28c.tar.gz zig-12087d4cbaab39acadc29716e92765c92b92e28c.zip | |
stage2: fix incremental compilation handling of parse errors
Before, incremental compilation would crash when trying to emit compile
errors for the update after introducing a parse error.
Parse errors are handled by not invalidating any existing semantic
analysis. However, only the parse error must be reported, with all the
other errors suppressed. Once the parse error is fixed, the new file can
be treated as an update to the previously-succeeded update.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
