drop yyparse() prototypes, require bison >= 2.7 which emits them
This commit is contained in:
parent
98860e4ade
commit
45117c94fd
|
|
@ -3,7 +3,6 @@ struct PPltype {
|
|||
};
|
||||
|
||||
extern int PPlex(YYSTYPE *lvalp, struct PPltype *llocp, char **line);
|
||||
extern int PPdebug;
|
||||
|
||||
extern struct pnode *PP_mkunode(int op, struct pnode *arg);
|
||||
extern struct pnode *PP_mkfnode(const char *func, struct pnode *arg);
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
static void PPerror (YYLTYPE *locp, char **line, struct pnode **retval, char const *);
|
||||
%}
|
||||
|
||||
%require "2.7"
|
||||
%name-prefix "PP"
|
||||
|
||||
%defines
|
||||
|
|
|
|||
|
|
@ -22,8 +22,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
|
|||
|
||||
static bool checkvalid(struct pnode *pn);
|
||||
|
||||
extern int PPparse(char **, struct pnode **);
|
||||
|
||||
void db_print_pnode_tree(struct pnode *p, char *print);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ struct PTltype {
|
|||
};
|
||||
|
||||
extern int PTlex(YYSTYPE *lvalp, struct PTltype *llocp, char **line);
|
||||
extern int PTdebug;
|
||||
|
||||
extern INPparseNode *PT_mkbnode(const char *opstr, INPparseNode *arg1, INPparseNode *arg2);
|
||||
extern INPparseNode *PT_mkfnode(const char *fname, INPparseNode *arg);
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
static void PTerror (YYLTYPE *locp, char **line, struct INPparseNode **retval, void *ckt, char const *);
|
||||
%}
|
||||
|
||||
%require "2.7"
|
||||
%name-prefix "PT"
|
||||
|
||||
%defines
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@ Author: 1987 Wayne A. Christopher, U. C. Berkeley CAD Group
|
|||
#include "inpptree-parser.h"
|
||||
#include "inpptree-parser-y.h"
|
||||
|
||||
int PTparse(char **line, INPparseNode **p, CKTcircuit *ckt);
|
||||
|
||||
static INPparseNode *mkcon(double value);
|
||||
static INPparseNode *mkb(int type, INPparseNode * left,
|
||||
INPparseNode * right);
|
||||
|
|
|
|||
Loading…
Reference in New Issue