From 177df586e992824f80bf81a1b878c7a4076caedd Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 5 Jul 2020 21:39:07 +0300 Subject: Make do_itrace a real variable. --- awk.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'awk.h') 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; -- cgit v1.2.3