diff --git a/src/main.cpp b/src/main.cpp index d13cccd..9d835b0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -123,7 +123,7 @@ int main(int, char *argv[]) { throw_debug("IO", "program: '" + program + "'\n"); file.close(); - display_config(); + //display_config(); // Parse and execute the program. execute(program); diff --git a/src/parser/pemdas.cpp b/src/parser/pemdas.cpp index 3c324a6..29a7af7 100644 --- a/src/parser/pemdas.cpp +++ b/src/parser/pemdas.cpp @@ -537,6 +537,8 @@ result parse_pemdas(string str, int order) { base.value = new TrueExp; else if (var == "false") base.value = new FalseExp; + else if (var == "input") + base.value = new InputExp; else if (var == "void") base.value = new VoidExp; else if (var == "sin") {