commit b537a462e3ed70b59020246f5aa180ea1075fea8
parent 6434dc17f5cdc917b6a4b25592dc8c2a4796e517
Author: thing1 <l.standen@posteo.com>
Date: Tue, 30 Sep 2025 10:36:52 +0100
fixed typos
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lliasm.c b/lliasm.c
@@ -32,12 +32,12 @@ readword(char **in) {
return tok;
}
-tavl *
+tval *
tokenize(char *word) {
tval *val = malloc(sizeof(tval));
if (isdigit(word)) {
- tval->type = ILIT;
- tval->val = word;
+ val->type = ILIT;
+ val->val = word;
}
}