aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9ea76cdf..7438ee3a 100644
--- a/main.c
+++ b/main.c
@@ -722,6 +722,9 @@ out:
if (do_debug)
debug_prog(code_block);
+ else if (do_pretty_print && ! do_debug && getenv("GAWK_NO_PP_RUN") != NULL)
+ /* hack to run pretty printer only. need a better solution */
+ ;
else
interpret(code_block);