aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-07-12 23:20:39 -0700
committerArnold D. Robbins <arnold@skeeve.com>2014-07-12 23:20:39 -0700
commitde3372f0d98c7137823e7d5630d03429bb77d1f2 (patch)
tree389fa3f5f107b3ca1178e6d7a65e66ff3644e29c /main.c
parentebb6772e9eabeb81e3cc9305a6bec7adf7aad450 (diff)
parentdf2eaea6a92c7d89d604d0a4e885d064678ce3ed (diff)
downloadegawk-de3372f0d98c7137823e7d5630d03429bb77d1f2.tar.gz
egawk-de3372f0d98c7137823e7d5630d03429bb77d1f2.tar.bz2
egawk-de3372f0d98c7137823e7d5630d03429bb77d1f2.zip
Merge branch 'master' into comment
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.c b/main.c
index c6fef2f1..901bfea5 100644
--- a/main.c
+++ b/main.c
@@ -739,9 +739,8 @@ 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 if (do_pretty_print && ! do_profile)
+ ; /* run pretty printer only. */
else
interpret(code_block);