This commit is contained in:
enderger 2020-01-08 01:06:33 -05:00 committed by GitHub
commit 2a5a042a5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,8 +378,10 @@
// We start by accepting an input string of code, and we're gonna set up two
// things...
function tokenizer(input) {
function tokenizer(p_input) {
//Fixes an infinite loop where the file ends before certain while loops end.
let input = p_input + ' ';
// A `current` variable for tracking our position in the code like a cursor.
let current = 0;