From: Stefan Sauer Date: Mon, 3 Jun 2013 19:53:13 +0000 (+0200) Subject: orcparse: fix copy and paste of error message X-Git-Tag: orc-0.4.18~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9a6c3109fb68f1f2788792d18cbe6031a5bef58;p=platform%2Fupstream%2Forc.git orcparse: fix copy and paste of error message --- 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,