diff options
author | Mathias Magnusson <mathias@magnusson.space> | 2025-06-02 19:55:33 +0200 |
---|---|---|
committer | Mathias Magnusson <mathias@magnusson.space> | 2025-06-02 19:55:33 +0200 |
commit | e06dd22930472b688d533ec7d4635f7657574ece (patch) | |
tree | 6376c4bdbda157674483ad32089b1c6162735564 /src/main.zig | |
parent | bb66477d1423f16c77986b48acd6156222d7d195 (diff) | |
download | huginn-e06dd22930472b688d533ec7d4635f7657574ece.tar.gz |
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
Diffstat (limited to 'src/main.zig')
-rw-r--r-- | src/main.zig | 4 |
1 files changed, 2 insertions, 2 deletions
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", .{}); |