diff options
Diffstat (limited to 'gram.y')
-rw-r--r-- | gram.y | 28 |
1 files changed, 10 insertions, 18 deletions
@@ -81,4 +81,3 @@ email : string { - if (restricted && ($1[0] == '|' || $1[0] == '/')) - { + if (restricted && ($1[0] == '|' || $1[0] == '/')) { yyerror("Construct not allowed"); @@ -96,4 +95,3 @@ email : string { - if (restricted) - { + if (restricted) { yyerror("Include statement is not allowed"); @@ -171,6 +169,5 @@ main (int argc, char **argv) program_name = argv[0]; - while ((c = getopt_long (argc, argv, "-d:f:hp:ruvw:", options, NULL)) != EOF) - { - switch (c) - { + while ((c = getopt_long(argc, argv, "-d:f:hp:ruvw:", + options, NULL)) != EOF) { + switch (c) { case 1: @@ -184,6 +181,4 @@ main (int argc, char **argv) case 'd': - for (p = optarg; *p; p++) - { - switch (*p) - { + for (p = optarg; *p; p++) { + switch (*p) { case '-': @@ -215,6 +210,4 @@ main (int argc, char **argv) read_include(&file_list, optarg); - if (file_list) - { - for (s = file_list->head; s; s = s->next) - { + if (file_list) { + for (s = file_list->head; s; s = s->next) { openaliases_prefix(optarg, s->str); @@ -263,4 +256,3 @@ main (int argc, char **argv) read_include(&cw_list, cwfile); - while (argc--) - { + while (argc--) { openaliases(*argv++); |