diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-09-26 16:01:47 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-09-26 16:01:47 +0000 |
commit | 6cf2930c1902036ade0b6a3174e765853882a45c (patch) | |
tree | 1556d382146a8b3080615880ddbfc27c6f937df7 /src | |
parent | 6b2799df922b0711df9979b3f399ede19a90ca76 (diff) | |
download | cflow-6cf2930c1902036ade0b6a3174e765853882a45c.tar.gz cflow-6cf2930c1902036ade0b6a3174e765853882a45c.tar.bz2 |
Updated
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 8 | ||||
-rw-r--r-- | src/parser.c | 16 |
2 files changed, 12 insertions, 12 deletions
@@ -87,7 +87,7 @@ static struct argp_option options[] = { { "no-use-indentation", OPT_NO_USE_INDENTATION, NULL, OPTION_HIDDEN, "", GROUP_ID+1 }, { "ansi", 'a', NULL, 0, - N_("Assume input to be written in ANSI C"), GROUP_ID+1 }, + N_("Accept only sources in ANSI C"), GROUP_ID+1 }, { "no-ansi", OPT_NO_ANSI, NULL, OPTION_HIDDEN, "", GROUP_ID+1 }, { "pushdown", 'p', N_("NUMBER"), 0, @@ -120,8 +120,8 @@ static struct argp_option options[] = { N_("Print nesting level along with the call tree"), GROUP_ID+1 }, { "no-print-level", OPT_NO_PRINT_LEVEL, NULL, OPTION_HIDDEN, "", GROUP_ID+1 }, - { "level-indent", OPT_LEVEL_INDENT, "STRING", 0, - N_("Use STRING when indenting to each new level"), GROUP_ID+1 }, + { "level-indent", OPT_LEVEL_INDENT, "ELEMENT", 0, + N_("Control graph appearance"), GROUP_ID+1 }, { "tree", 'T', NULL, 0, N_("Draw ASCII art tree"), GROUP_ID+1 }, { "no-tree", OPT_NO_TREE, NULL, OPTION_HIDDEN, @@ -139,7 +139,7 @@ static struct argp_option options[] = { { NULL, 0, NULL, 0, N_("Informational options:"), GROUP_ID }, { "verbose", 'v', NULL, 0, - N_("Be verbose on output"), GROUP_ID+1 }, + N_("Verbose error diagnostics"), GROUP_ID+1 }, { "no-verbose", OPT_NO_VERBOSE, NULL, OPTION_HIDDEN, "", GROUP_ID+1 }, { "license", 'L', 0, 0, diff --git a/src/parser.c b/src/parser.c index 8993318..1bc28c7 100644 --- a/src/parser.c +++ b/src/parser.c @@ -370,7 +370,7 @@ expression() break; case 0: if (verbose) - file_error(_("unexpected eof in expression"), 0); + file_error(_("unexpected end of file in expression"), 0); return; case IDENTIFIER: @@ -440,7 +440,7 @@ parse_function_declaration(Ident *ident, int parm) break; case 0: if (verbose) - file_error(_("unexpected eof in declaration"), 0); + file_error(_("unexpected end of file in declaration"), 0); } } @@ -547,7 +547,7 @@ parse_variable_declaration(Ident *ident, int parm) break; case 0: if (verbose) - file_error(_("unexpected eof in declaration"), 0); + file_error(_("unexpected end of file in declaration"), 0); } } @@ -569,7 +569,7 @@ initializer_list() } break; case 0: - file_error(_("unexpected eof in initializer list"), 0); + file_error(_("unexpected end of file in initializer list"), 0); return; case ',': break; @@ -653,7 +653,7 @@ skip_struct() do { switch (tok.type) { case 0: - file_error(_("unexpected eof in struct"), 0); + file_error(_("unexpected end of file in struct"), 0); return; case LBRACE: case LBRACE0: @@ -782,7 +782,7 @@ dirdcl(Ident *idptr) int level = 0; while (nexttoken()) { if (tok.type == 0) { - file_error(_("unexpected eof in function declaration"), + file_error(_("unexpected end of file in function declaration"), 0); return; } else if (tok.type == '(') @@ -866,7 +866,7 @@ maybe_parm_list(int *parm_cnt_return) } } if (verbose) - file_error(_("unexpected eof in parameter list"), 0); + file_error(_("unexpected end of file in parameter list"), 0); } void @@ -917,7 +917,7 @@ func_body() break; case 0: if (verbose) - file_error(_("unexpected eof in function body"), 0); + file_error(_("unexpected end of file in function body"), 0); return; } } |