diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-12-02 20:59:19 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-12-02 20:59:19 +0200 |
commit | 53892e324939cf3526c9242a5ea81555dc16e408 (patch) | |
tree | b6d65f174af872be2263eac1fe3781275acdb3b0 /main.c | |
parent | d07f0f9df7ea216ca579eed7a9b46d3e168619de (diff) | |
download | gawk-comment.tar.gz |
Redo commenting mechanism.comment
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -71,6 +71,7 @@ static void save_argv(int, char **); extern int debug_prog(INSTRUCTION *pc); /* debug.c */ extern int init_debug(); /* debug.c */ +extern void print_extra_comments(char *src, int ct); /* These nodes store all the special variables AWK uses */ NODE *ARGC_node, *ARGIND_node, *ARGV_node, *BINMODE_node, *CONVFMT_node; @@ -493,7 +494,9 @@ main(int argc, char **argv) if (do_pretty_print) { dump_prog(code_block); + print_extra_comments(source, 0); dump_funcs(); + print_extra_comments(source, 1); } if (do_dump_vars) |