summaryrefslogtreecommitdiff
path: root/05/main.b
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-01-15 10:35:36 -0500
committerpommicket <pommicket@gmail.com>2022-01-15 10:35:36 -0500
commit857d5552fc04bbaf8437df2edc957c6d9d7c582a (patch)
tree81ae896af414d8a1a351038393c6af46f5d0c926 /05/main.b
parent2ec0cd4ae35c3a238e0dcc75bbafcf7ba0938356 (diff)
parsing/typing fixes
Diffstat (limited to '05/main.b')
-rw-r--r--05/main.b6
1 files changed, 3 insertions, 3 deletions
diff --git a/05/main.b b/05/main.b
index a85818b..4632338 100644
--- a/05/main.b
+++ b/05/main.b
@@ -94,7 +94,7 @@ function compile_warning
global powers_of_10
global types
-global types_end
+global types_bytes_used
#include util.b
#include constants.b
@@ -138,9 +138,9 @@ function main
*1p = TYPE_POINTER
p += 1
*1p = TYPE_CHAR
+ p += 1
-
- types_end = p
+ types_bytes_used = p - types
input_filename = .str_default_input_filename