diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-05-28 21:54:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-28 21:54:01 -0400 |
| commit | c12704a3395a11c28569ebb160e6ac33091d983a (patch) | |
| tree | cf2e0055c53eac499b1fb66e2472a2036286afd6 /src/stage1/error.cpp | |
| parent | 3f5ca3920a58d44a018ff2a2e277e60813e20d5a (diff) | |
| parent | d888fa12a88ae7e5332de669b3c3a1dac57f5c19 (diff) | |
| download | zig-c12704a3395a11c28569ebb160e6ac33091d983a.tar.gz zig-c12704a3395a11c28569ebb160e6ac33091d983a.zip | |
Merge pull request #8918 from ziglang/stage1-tokenizer
stage1: rework tokenizer to match stage2
Diffstat (limited to 'src/stage1/error.cpp')
| -rw-r--r-- | src/stage1/error.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stage1/error.cpp b/src/stage1/error.cpp index d8bb4ac8a2..e77632e8f2 100644 --- a/src/stage1/error.cpp +++ b/src/stage1/error.cpp @@ -88,6 +88,8 @@ const char *err_str(Error err) { case ErrorZigIsTheCCompiler: return "Zig was not provided with libc installation information, and so it does not know where the libc paths are on the system. Zig attempted to use the system C compiler to find out where the libc paths are, but discovered that Zig is being used as the system C compiler."; case ErrorFileBusy: return "file is busy"; case ErrorLocked: return "file is locked by another process"; + case ErrorInvalidCharacter: return "invalid character"; + case ErrorUnicodePointTooLarge: return "unicode codepoint too large"; } return "(invalid error)"; } |
