aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-28 01:30:41 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-28 01:30:41 +0000
commit39bf59520b1b5d70df5a4f58273afda3d6c4d530 (patch)
tree6427faf16a5a5b9552c436eeaf73ef28fa77ee48 /gdb/m2-exp.y
parentc022837644cc8b00329fb095fc6ed96e23c8a192 (diff)
downloadgdb-39bf59520b1b5d70df5a4f58273afda3d6c4d530.zip
gdb-39bf59520b1b5d70df5a4f58273afda3d6c4d530.tar.gz
gdb-39bf59520b1b5d70df5a4f58273afda3d6c4d530.tar.bz2
* c-exp.y, m2-exp.y: Define more yysymbols that happen to be
"bss" rather than "data" symbols, but which still conflict. * m2-exp.y: Lint.
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r--gdb/m2-exp.y10
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index ce81e63..2c5cf4b 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -37,6 +37,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "frame.h"
#include "expression.h"
#include "language.h"
+#include "value.h"
#include "parser-defs.h"
/* These MUST be included in any grammar file!!!!
@@ -57,6 +58,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define yyexca m2_exca
#define yyerrflag m2_errflag
#define yynerrs m2_nerrs
+#define yyps m2_ps
+#define yypv m2_pv
+#define yys m2_s
+#define yystate m2_state
+#define yytmp m2_tmp
+#define yyv m2_v
+#define yyval m2_val
+#define yylloc m2_lloc
/* Forward decl's */
void yyerror ();
@@ -653,7 +662,6 @@ parse_number (olen)
register int c,i,ischar=0;
register int base = input_radix;
register int len = olen;
- char *err_copy;
int unsigned_p = number_sign == 1 ? 1 : 0;
extern double atof ();