aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-11-22 19:30:03 +0000
committerJohn Gilmore <gnu@cygnus>1991-11-22 19:30:03 +0000
commit1a5a8f2a3edb3b67862fe74ca807aab8bcc5a483 (patch)
treee13465b3ccb86341ee3ce38c5d08d97271cacc4d /gdb/m2-exp.y
parentf8adc62df477edf69a97e91aa53ebefdb9a76dae (diff)
downloadgdb-1a5a8f2a3edb3b67862fe74ca807aab8bcc5a483.zip
gdb-1a5a8f2a3edb3b67862fe74ca807aab8bcc5a483.tar.gz
gdb-1a5a8f2a3edb3b67862fe74ca807aab8bcc5a483.tar.bz2
CLeanups to compile, mostly on BSD (okeeffe) and sco (kithrup).
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r--gdb/m2-exp.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index 7b29b8c..72619e7 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -39,6 +39,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "value.h"
#include "parser-defs.h"
+/* In case the system defines these as macros, get rid of them; we use
+ them as tokens. */
+#undef MAX
+#undef MIN
+
/* These MUST be included in any grammar file!!!!
Please choose unique names! */
#define yymaxdepth m2_maxdepth