aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 65f57fc3..438832ff 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1157,7 +1157,9 @@ parse_opt (int key, char *arg, struct argp_state *state)
break;
case OPTION_LINT:
+ log_to_stderr = 1;
script_check = 1;
+ need_config = 1;
break;
case 'p':
@@ -1738,13 +1740,13 @@ main(int argc, char **argv)
if (script_dump_macros)
print_used_macros();
+ fixup_code();
+
if (script_check || script_dump_macros
|| script_dump_code || script_dump_tree
|| script_ldebug || script_ydebug)
exit(EX_OK);
- fixup_code();
-
free_symbols();
free_string_space();

Return to:

Send suggestions and report system problems to the System administrator.