mirror of
https://github.com/jamiebuilds/the-super-tiny-compiler.git
synced 2024-10-27 20:34:08 +00:00
Documented previous change
This commit is contained in:
parent
cf64279293
commit
1ec0771ce4
@ -380,6 +380,7 @@
|
|||||||
// things...
|
// things...
|
||||||
function tokenizer(p_input) {
|
function tokenizer(p_input) {
|
||||||
|
|
||||||
|
//Fixes an infinite loop where the file ends before certain while loops end.
|
||||||
let input = p_input + ' ';
|
let input = p_input + ' ';
|
||||||
// A `current` variable for tracking our position in the code like a cursor.
|
// A `current` variable for tracking our position in the code like a cursor.
|
||||||
let current = 0;
|
let current = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user