Explorar el Código

repl error messages

master
Martin Dørum hace 3 años
padre
commit
979c4627a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      cmd/main.c

+ 1
- 1
cmd/main.c Ver fichero

@@ -112,7 +112,7 @@ static int repl() {

struct l2_parse_error err;
if (l2_parse_program(&lexer, &gen, &err) < 0) {
fprintf(stderr, "Parse error: %s\n", err.message);
fprintf(stderr, "Parse error: %s\n -- %s\n", err.message, line);
l2_parse_error_free(&err);
w.len = prev_len;
} else if (w.len > 0) {

Cargando…
Cancelar
Guardar