Move into for block

https://www.youtube.com/watch?v=FHDwRECFL8M
This commit is contained in:
Sam Saccone 2015-07-01 20:34:43 -07:00
parent 5b0b7ba226
commit 1945f849c3

View File

@ -63,9 +63,7 @@ class CodeGenerator {
double: 0
};
var checked = 0;
for (var i = 0; i < tokens.length; i++) {
for (var i = 0, checked = 0; i < tokens.length; i++) {
var token = tokens[i];
if (token.type.label !== "string") continue;