Zig rewrite start #1

Merged
davidgmbb merged 100 commits from zig into main 2025-04-05 11:22:15 +02:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 671189f299 - Show all commits

View File

@ -3453,6 +3453,7 @@ const Converter = struct {
.@"<<",
.@">>",
};
for (shifting_operators) |shifting_operator| {
r[@intFromEnum(shifting_operator)] = .{
.before = null,
@ -3594,7 +3595,7 @@ const Converter = struct {
'>' => blk: {
const next_ch = converter.content[start_index + 1];
const token_id: Token.Id = switch (next_ch) {
'<' => switch (converter.content[start_index + 2]) {
'>' => switch (converter.content[start_index + 2]) {
'=' => .@">>=",
else => .@">>",
},

View File

@ -182,7 +182,7 @@ pub fn entry_point(arguments: []const [*:0]const u8, environment: [*:null]const
"constant_sub",
"constant_xor",
"constant_shift_left",
//"constant_shift_right",
"constant_shift_right",
"minimal_stack",
};