summaryrefslogtreecommitdiff
path: root/05/tokenize.b
diff options
context:
space:
mode:
Diffstat (limited to '05/tokenize.b')
-rw-r--r--05/tokenize.b10
1 files changed, 7 insertions, 3 deletions
diff --git a/05/tokenize.b b/05/tokenize.b
index 3715fc1..1c197a7 100644
--- a/05/tokenize.b
+++ b/05/tokenize.b
@@ -120,6 +120,8 @@ function tokenize
local n
local p
local data
+ local significand
+ local exponent
in = pptokens
:tokenize_loop
@@ -236,9 +238,6 @@ function tokenize
out += 2 ; no info
data = c
goto token_output
- :tokenize_float
- ; @TODO
- byte 0xcc
:tokenize_string_literal
n = rodata_end_offset - RODATA_OFFSET
n += RODATA_ADDR ; address of string
@@ -261,6 +260,11 @@ function tokenize
out += 2 ; no info
data = n
goto token_output
+ :tokenize_float
+ significand = 0
+ exponent = 0
+ ; @TODO
+ byte 0xcc
:tokenize_loop_end
return 0