unary minus

This commit is contained in:
2026-06-12 17:55:07 +02:00
parent 66e41e1d9a
commit 94e56f6888
14 changed files with 378 additions and 18 deletions
+2 -1
View File
@@ -74,13 +74,14 @@ Expr_Kind :: enum u8 {
Invalid,
Integer,
Name,
Negate,
Add,
Call,
}
Expr :: struct {
span: source.Span,
integer: i64,
integer: u64,
args: []Expr_Id,
qualifier: symbol.Id,
name: symbol.Id,