diff options
author | Stan Shebs <shebs@apple.com> | 1999-04-26 18:34:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-04-26 18:34:20 +0000 |
commit | fe454715791b86ad488b33c1f325478803c8108c (patch) | |
tree | 91ec960676c78ffeab24ee2101fa128d2cc0f958 /gdb/parse.c | |
parent | f3db0d6e5952e6aa06bdad615829b42d2cf52f71 (diff) | |
download | gdb-fe454715791b86ad488b33c1f325478803c8108c.tar.gz |
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index af68fbfbcd2..76ed1b6f324 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -41,6 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "parser-defs.h" #include "gdbcmd.h" #include "symfile.h" /* for overlay functions */ +#include <ctype.h> /* Global variables declared in parser-defs.h (and commented there). */ struct expression *expout; @@ -56,9 +57,7 @@ char *namecopy; int paren_depth; int comma_terminates; -#ifdef MAINTENANCE_CMDS static int expressiondebug = 0; -#endif extern int hp_som_som_object_present; @@ -1196,19 +1195,15 @@ parse_exp_1 (stringptr, block, comma) /* Convert expression from postfix form as generated by yacc parser, to a prefix form. */ -#ifdef MAINTENANCE_CMDS if (expressiondebug) dump_prefix_expression (expout, gdb_stdout, "before conversion to prefix form"); -#endif /* MAINTENANCE_CMDS */ prefixify_expression (expout); -#ifdef MAINTENANCE_CMDS if (expressiondebug) dump_postfix_expression (expout, gdb_stdout, "after conversion to prefix form"); -#endif /* MAINTENANCE_CMDS */ *stringptr = lexptr; return expout; @@ -1339,7 +1334,6 @@ _initialize_parse () "<variable (not text or data), no debug info>", NULL); -#ifdef MAINTENANCE_CMDS add_show_from_set ( add_set_cmd ("expressiondebug", class_maintenance, var_zinteger, (char *)&expressiondebug, @@ -1347,5 +1341,4 @@ _initialize_parse () When non-zero, the internal representation of expressions will be printed.", &setlist), &showlist); -#endif } |