debug mode from command line arg

This commit is contained in:
vaclavt
2022-01-10 20:37:18 +01:00
parent 178be8366e
commit ffa53673f1

View File

@@ -147,11 +147,11 @@ void debug() {
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
// #ifdef NDEBUG if (argc == 2 && strcpy(argv[1], "-debug")) {
// repl();
// #else
debug(); debug();
// #endif } else {
repl();
}
return 0; return 0;
} }