0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/src
Cody Tapscott 5c8a507e7a stage2 parser: UTF-8 encode \u{NNNNNN} escape sequences
The core of this change is to re-use the escape sequence parsing logic
for parsing both string and character literals.

The actual fix is that UTF-8 encoding was missing for string literals
with \u{...} escape sequences.
History 2022-03-02 14:45:19 -05:00
..
arch x64: fix bug in lowering optionals directly to immediate 2022-03-02 17:40:37 +01:00
codegen stage2: introduce anonymous struct literals 2022-03-01 23:46:57 -07:00
link codegen: lower field_ptr to memory across linking backends 2022-03-01 22:03:18 +01:00
stage1 compiler_rt: specify goals, organize README and compiler_rt.zig 2022-02-23 16:38:51 -05:00
translate_c allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
Air.zig stage2: fix frame_address AIR instruction 2022-02-28 13:38:33 -07:00
AstGen.zig stage2 parser: UTF-8 encode \u{NNNNNN} escape sequences 2022-03-02 14:45:19 -05:00
BuiltinFn.zig AstGen: implement @prefetch() builtin 2021-12-10 23:09:02 +01:00
Cache.zig fs: Use OpenMode enum instead of read/write flags. 2022-01-29 15:52:08 +02:00
clang.zig translate-c: Add support for cast-to-union 2022-02-23 14:11:46 +02:00
clang_options.zig zig cc: honor all -m and -mno- CPU feature flags 2021-11-26 19:59:33 -07:00
clang_options_data.zig stage2: improvements to entry point handling 2022-01-19 11:41:08 -07:00
codegen.zig codegen: leave f80 explicitly unhandled for now 2022-03-02 17:08:16 +01:00
Compilation.zig stage2: make -lgcc_s additionally link libunwind 2022-02-23 13:25:10 -07:00
config.zig.in macho: dump linker's state as JSON 2021-10-22 12:50:25 +02:00
crash_report.zig stage2: fix crash_report segfault compile error 2022-02-07 17:11:26 -08:00
DepTokenizer.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
empty.zig fix wrong entrypoint, undefined package, and wrong build option 2020-12-07 17:27:09 -07:00
glibc.zig glibc: clean up build logic 2022-01-14 12:39:06 -07:00
InternArena.zig stage2: update to new ArrayHashMap API 2022-01-31 21:12:37 -07:00
introspect.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
libc_installation.zig Avoid depending on child process execution when not supported by host OS 2022-02-06 22:21:46 -07:00
libcxx.zig remove __muloti4 from libc++ 2022-01-30 14:30:46 +01:00
libtsan.zig stage2: fix path to cache artifacts in libcxx, 2022-01-02 13:16:17 -07:00
libunwind.zig stage2: fix path to cache artifacts in libcxx, 2022-01-02 13:16:17 -07:00
link.zig codegen: lower field_ptr to memory across linking backends 2022-03-01 22:03:18 +01:00
Liveness.zig stage2: fix frame_address AIR instruction 2022-02-28 13:38:33 -07:00
main.zig zig cc: special handling of /dev/null 2022-02-28 12:36:45 -07:00
mingw.zig Avoid depending on child process execution when not supported by host OS 2022-02-06 22:21:46 -07:00
Module.zig Sema: complete the Type.hash function 2022-02-28 20:05:21 -07:00
musl.zig stage2: introduce CacheMode 2022-01-02 13:16:17 -07:00
Package.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
print_air.zig stage2: fix frame_address AIR instruction 2022-02-28 13:38:33 -07:00
print_env.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
print_targets.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
print_zir.zig stage2: implement @unionInit 2022-02-26 20:59:36 -07:00
RangeSet.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
register_manager.zig stage2 regalloc: track Inst instead of ?Inst in register mapping 2022-02-13 23:24:26 +01:00
Sema.zig stage2: introduce anonymous struct literals 2022-03-01 23:46:57 -07:00
stage1.zig std.Progress: make the API infallible 2022-02-08 17:26:55 -07:00
target.zig stage2: make -lgcc_s additionally link libunwind 2022-02-23 13:25:10 -07:00
test.zig update more API usage of std.Progress 2022-02-08 17:49:40 -07:00
ThreadPool.zig Avoid depending on child process execution when not supported by host OS 2022-02-06 22:21:46 -07:00
tracy.zig lint: duplicate import (#10519) 2022-01-07 00:06:06 -05:00
translate_c.zig translate-c: Add support for cast-to-union 2022-02-23 14:11:46 +02:00
type.zig stage2: introduce anonymous struct literals 2022-03-01 23:46:57 -07:00
TypedValue.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
value.zig stage2: introduce anonymous struct literals 2022-03-01 23:46:57 -07:00
WaitGroup.zig std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
wasi_libc.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
windows_com.hpp Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00
windows_sdk.cpp finalize windows_sdk paths based on snickler suggestions 2021-09-07 21:49:08 -06:00
windows_sdk.h fix regressed stage2 test harness 2020-09-21 21:14:01 -07:00
windows_sdk.zig stage2: update for new usingnamespace semantics 2021-09-01 17:54:07 -07:00
zig_clang.cpp translate-c: Add support for cast-to-union 2022-02-23 14:11:46 +02:00
zig_clang.h translate-c: Add support for cast-to-union 2022-02-23 14:11:46 +02:00
zig_clang_cc1_main.cpp update clang tools to 13 rc1 2021-08-15 18:06:29 -07:00
zig_clang_cc1as_main.cpp update clang tools to 13 rc1 2021-08-15 18:06:29 -07:00
zig_clang_driver.cpp update clang tools to 13 rc1 2021-08-15 18:06:29 -07:00
zig_llvm-ar.cpp Merge remote-tracking branch 'origin/master' into llvm13 2021-09-30 21:38:04 -07:00
zig_llvm.cpp stage2: LLVM backend: fix lowering of union constants 2021-12-28 01:53:58 -07:00
zig_llvm.h stage2: LLVM backend: fix lowering of union constants 2021-12-28 01:53:58 -07:00
Zir.zig stage2: introduce anonymous struct literals 2022-03-01 23:46:57 -07:00