summaryrefslogtreecommitdiff
path: root/tnslc/parse/parse.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-12-17 10:56:18 -0500
committerKyle Gunger <kgunger12@gmail.com>2022-12-17 10:56:18 -0500
commit2ec32dac56b544bc4851a3efddf75ee5fd9314ed (patch)
treed145c241d7c114b6aaa83d7759d9647b21997b87 /tnslc/parse/parse.tnsl
parentc5219bb99f5ae0cca484457dfb89d00b0c68011e (diff)
Change charp to uint8
+ Change charp to uint8 + Start value abstraction
Diffstat (limited to 'tnslc/parse/parse.tnsl')
-rw-r--r--tnslc/parse/parse.tnsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tnslc/parse/parse.tnsl b/tnslc/parse/parse.tnsl
index 5fb1a18..8919c3a 100644
--- a/tnslc/parse/parse.tnsl
+++ b/tnslc/parse/parse.tnsl
@@ -19,7 +19,7 @@
:include "parse/tokenizer.tnsl"
;/
-/; create_panic ({}charp err)
+/; create_panic ({}uint8 err)
;tnsl.io.println("ABOUT TO INDUCE PANIC... STAND BY")
;tnsl.io.print("Error code given: ")
;tnsl.io.println(err)
@@ -47,7 +47,7 @@
line,
col,
- ~{}charp
+ ~{}uint8
data
}
@@ -69,7 +69,7 @@
;delete self.data
;/
- /; add_char (~{}charp part)
+ /; add_char (~{}uint8 part)
# ;uint l = len self.data`
# ;realloc self.data, l + len part
/; loop (int i = 0; i < len part`) [i++]