1
0
forked from GitHub/gf-core

pgf-translate: add \n at the end of two error messages

This commit is contained in:
kr.angelov
2012-01-23 15:51:37 +00:00
parent 21dee01c9d
commit d8cfb13715

View File

@@ -63,7 +63,7 @@ int main(int argc, char* argv[]) {
PgfConcr* to_concr = PgfConcr* to_concr =
gu_map_get(pgf->concretes, &to_lang, PgfConcr*); gu_map_get(pgf->concretes, &to_lang, PgfConcr*);
if (!from_concr || !to_concr) { if (!from_concr || !to_concr) {
fprintf(stderr, "Unknown language"); fprintf(stderr, "Unknown language\n");
status = EXIT_FAILURE; status = EXIT_FAILURE;
goto fail_concr; goto fail_concr;
} }
@@ -112,7 +112,7 @@ int main(int argc, char* argv[]) {
PgfParse* parse = PgfParse* parse =
pgf_parser_parse(parser, cat, lin_idx, pool); pgf_parser_parse(parser, cat, lin_idx, pool);
if (parse == NULL) { if (parse == NULL) {
fprintf(stderr, "Couldn't begin parsing"); fprintf(stderr, "Couldn't begin parsing\n");
status = EXIT_FAILURE; status = EXIT_FAILURE;
break; break;
} }