We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b6d4b3 commit 664bf03Copy full SHA for 664bf03
src/main/java/de/haupz/basicode/Main.java
@@ -106,7 +106,7 @@ private static String getSource(String filename) throws IOException {
106
* @throws Exception in case anything goes wrong.
107
*/
108
public static void run(String code, Configuration configuration) throws Exception {
109
- final Parser parser = new Parser(new StringReader(getSource(code)));
+ final Parser parser = new Parser(new StringReader(code));
110
ProgramNode prog = parser.program();
111
InterpreterState state = new InterpreterState(prog, bc, bc, configuration);
112
bc.registerStopKeyHandler(() -> state.terminate());
0 commit comments