aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-07-05 21:39:07 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-07-05 21:39:07 +0300
commit177df586e992824f80bf81a1b878c7a4076caedd (patch)
tree77181c0a49684627ab769d2ea0f7844b191471f8 /awk.h
parentc31e4636edc5e444f9815295f373d4b1170ef260 (diff)
downloadegawk-177df586e992824f80bf81a1b878c7a4076caedd.tar.gz
egawk-177df586e992824f80bf81a1b878c7a4076caedd.tar.bz2
egawk-177df586e992824f80bf81a1b878c7a4076caedd.zip
Make do_itrace a real variable.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/awk.h b/awk.h
index eec41147..dfc25b78 100644
--- a/awk.h
+++ b/awk.h
@@ -1140,6 +1140,7 @@ extern struct block_header nextfree[];
extern bool field0_valid;
extern int do_flags;
+extern bool do_itrace; /* separate so can poke from a debugger */
extern SRCFILE *srcfiles; /* source files */
@@ -1160,7 +1161,6 @@ enum do_flag_values {
DO_PROFILE = 0x02000, /* profile the program */
DO_DEBUG = 0x04000, /* debug the program */
DO_MPFR = 0x08000, /* arbitrary-precision floating-point math */
- DO_ITRACE = 0x10000 /* trace byte-code instructions */
};
#define do_traditional (do_flags & DO_TRADITIONAL)
@@ -1175,7 +1175,6 @@ 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;