diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-06-24 18:10:22 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-06-24 18:10:22 +0300 |
commit | 3ceb23374fc269d883dc5d56e40518db77efea1a (patch) | |
tree | f4679cbdf0b309edc1617ac58dbc515efc3cb977 /main.c | |
parent | 78ded8ee8f11a321c96417e7d02dac2f5723a221 (diff) | |
download | egawk-3ceb23374fc269d883dc5d56e40518db77efea1a.tar.gz egawk-3ceb23374fc269d883dc5d56e40518db77efea1a.tar.bz2 egawk-3ceb23374fc269d883dc5d56e40518db77efea1a.zip |
Make --pretty-print not run the program.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |