minor fix

This commit is contained in:
Daniella 2022-05-16 00:57:32 +02:00
parent c97708f450
commit aa9c510f37

View file

@ -1461,6 +1461,7 @@ public class ISBPL {
public void interpret(File file, String code, Stack<ISBPLObject> stack) { public void interpret(File file, String code, Stack<ISBPLObject> stack) {
if(code.startsWith("#!")) if(code.startsWith("#!"))
code = code.substring(code.indexOf("\n") + 1); code = code.substring(code.indexOf("\n") + 1);
debuggerIPC.stack.put(Thread.currentThread().getId(), stack);
fileStack.get().push(file); fileStack.get().push(file);
code = cleanCode(code); code = cleanCode(code);
String[] words = splitWords(code); String[] words = splitWords(code);