Skip to content

Commit c8cd3e1

Browse files
committed
Fix malformed example
1 parent 19d417a commit c8cd3e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/01_inline_parsing.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ start: mov 10 r0
1717
add r0 r1
1818
jmp start
1919
]]
20-
local tokenizer = LuASM.file_tokenizer("./test.txt")
20+
local tokenizer = LuASM.string_tokenizer(src)
2121

2222
-- 4. Parse
2323
local result = asm:parse(tokenizer)

0 commit comments

Comments
 (0)