diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-02 10:30:03 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-02 10:30:03 +0300 |
commit | efd054b9800ec926587d2903f0712c68d4591d43 (patch) | |
tree | 8dae33a9da6044ae7a1bd9c26625e0a98150d6a5 /awk.h | |
parent | 85da96b705877b4a10b0a96b3d9722536674b2d0 (diff) | |
download | egawk-efd054b9800ec926587d2903f0712c68d4591d43.tar.gz egawk-efd054b9800ec926587d2903f0712c68d4591d43.tar.bz2 egawk-efd054b9800ec926587d2903f0712c68d4591d43.zip |
Add instruction trace option.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1159,7 +1159,8 @@ enum do_flag_values { DO_SANDBOX = 0x01000, /* sandbox mode - disable 'system' function & redirections */ DO_PROFILE = 0x02000, /* profile the program */ DO_DEBUG = 0x04000, /* debug the program */ - DO_MPFR = 0x08000 /* arbitrary-precision floating-point math */ + DO_MPFR = 0x08000, /* arbitrary-precision floating-point math */ + DO_ITRACE = 0x10000 /* trace byte-code instructions */ }; #define do_traditional (do_flags & DO_TRADITIONAL) @@ -1174,6 +1175,7 @@ enum do_flag_values { #define do_sandbox (do_flags & DO_SANDBOX) #define do_debug (do_flags & DO_DEBUG) #define do_mpfr (do_flags & DO_MPFR) +#define do_itrace (do_flags & DO_ITRACE) extern bool do_optimize; extern int use_lc_numeric; |