From e06dd22930472b688d533ec7d4635f7657574ece Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Mon, 2 Jun 2025 19:55:33 +0200 Subject: force parenthesis around arguments would've been cool to not force that imo, but otherwise it seems like there can be absolutely no places where two expression-like things could be next to each other, which is a kinda meh --- src/main.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig index ced3826..918c52d 100644 --- a/src/main.zig +++ b/src/main.zig @@ -38,8 +38,8 @@ pub fn main() !void { const source = \\let x = 1; - \\print 18446744073709551615; - \\print (print (0 - x)); + \\print(18446744073709551615); + \\print(print(0 - x)); ; var lexer: Lexer = .{ .source = source }; std.debug.print("Tokens:\n", .{}); -- cgit v1.2.3