From d9a6c3109fb68f1f2788792d18cbe6031a5bef58 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Mon, 3 Jun 2013 21:53:13 +0200 Subject: orcparse: fix copy and paste of error message --- orc/orcparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orc/orcparse.c b/orc/orcparse.c index 16fdaf4..c41410a 100644 --- a/orc/orcparse.c +++ b/orc/orcparse.c @@ -168,7 +168,7 @@ orc_parse_full (const char *code, OrcProgram ***programs, char **log) } } else if (strcmp (token[i], "min") == 0) { if (i == n_tokens - 1) { - orc_parse_log (parser, "error: line %d: .n mult requires multiple value\n", + orc_parse_log (parser, "error: line %d: .n min requires multiple value\n", parser->line_number); } else { orc_program_set_n_minimum (parser->program, @@ -177,7 +177,7 @@ orc_parse_full (const char *code, OrcProgram ***programs, char **log) } } else if (strcmp (token[i], "max") == 0) { if (i == n_tokens - 1) { - orc_parse_log (parser, "error: line %d: .n mult requires multiple value\n", + orc_parse_log (parser, "error: line %d: .n max requires multiple value\n", parser->line_number); } else { orc_program_set_n_maximum (parser->program, -- cgit v1.2.3