main: Make eval the default mode

This commit is contained in:
Laria 2022-07-15 21:57:35 +02:00
parent 55fb3c6345
commit b033983d52

View file

@ -190,7 +190,7 @@ exit:
int
main(int argc, const char **argv)
{
enum repl_mode mode = REPL_PARSER;
enum repl_mode mode = REPL_EVAL;
if (argc > 1) {
if (apfl_string_eq(argv[1], "tokenizer")) {