Skip to content

Commit

Permalink
Bug fix: some errors would cause unhandled Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Nafees10 committed Dec 17, 2020
1 parent fd5b756 commit 67fc913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/qscript/compiler/tokengen.d
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ package Token[] stringToTokens(string[] s){
Token[] r;
r.length = s.length;
foreach (i, token; s){
r[i].type = getTokenType(s[i]);
//r[i].type = getTokenType(s[i]);
r[i].token = s[i].dup;
}
return r;
Expand Down

0 comments on commit 67fc913

Please sign in to comment.