From 85daa32c72485272093804329851a56ca2ef9307 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Wed, 7 Aug 2024 04:09:14 -0400 Subject: [tnslc] Fix indexing post-op, segfault when printing c formatted strings in tokens --- tnslc/test.tnsl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tnslc/test.tnsl') diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl index 691e0fb..265ba70 100644 --- a/tnslc/test.tnsl +++ b/tnslc/test.tnsl @@ -16,15 +16,15 @@ struct Geko { /; module mod int i = 0 /; whatev (~uint8 a) [uint8] - # return a{0} + return a{0} ;/ ;/ -int i = mod.i * 2 + 1 * 4 - 2 - /; main [int] # ~uint8 a = "asdf\0" #whatev(a) #whatev("asdf\0") - #return 0 + return 0 ;/ + +~uint8 printf = "Unmatched closing delimiter at {line %d, col %d, %s}" -- cgit v1.2.3