about summary refs log tree commit diff
path: root/boot/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/lex.c')
-rw-r--r--boot/lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/lex.c b/boot/lex.c
index db0173e..9a94c55 100644
--- a/boot/lex.c
+++ b/boot/lex.c
@@ -219,6 +219,7 @@ token_new(enum Token_Kind kind, struct Span span, struct Cursor location, union
         .kind = kind,
         .span = span,
         .value = value,
+        .location = location,
     };
 }