diff options
author | Fred Fish <fnf@specifix.com> | 1991-11-19 15:59:55 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1991-11-19 15:59:55 +0000 |
commit | d018c8a6e1c03b8f220445f9de5af8ba4b3a4199 (patch) | |
tree | a79e51cdd5d25fc277ade0a367ecc2a2a892d280 /gdb/m2-exp.y | |
parent | 61af01bc7065b6aa740b0a9cccdcf43ed9c28803 (diff) | |
download | gdb-d018c8a6e1c03b8f220445f9de5af8ba4b3a4199.zip gdb-d018c8a6e1c03b8f220445f9de5af8ba4b3a4199.tar.gz gdb-d018c8a6e1c03b8f220445f9de5af8ba4b3a4199.tar.bz2 |
Add defines so that parsers produced by SVR4 versions of yacc can coexist
in the same executable without collision (c-exp.y, m2-exp.y). Add forward
delaration of function returning pointer to shut up compiler warnings about
conversion of int to pointer (symtab.h).
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r-- | gdb/m2-exp.y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index 2c5cf4b..85de5e1 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -42,6 +42,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* These MUST be included in any grammar file!!!! Please choose unique names! */ +#define yymaxdepth m2_maxdepth #define yyparse m2_parse #define yylex m2_lex #define yyerror m2_error @@ -61,9 +62,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define yyps m2_ps #define yypv m2_pv #define yys m2_s +#define yy_yys m2_yys #define yystate m2_state #define yytmp m2_tmp #define yyv m2_v +#define yy_yyv m2_yyv #define yyval m2_val #define yylloc m2_lloc |