Commit aabc48c5 authored by dcw's avatar dcw
Browse files

couple more minor changes;

moved MUSTBE up above first proc;
lined up an '=' somewhere..
parent eb303477
......@@ -53,6 +53,9 @@ static BOOL parse_param();
#endif
#define MUSTBE(t,mesg) if( nexttok() != (t) ) {error(mesg); return FALSE;}
/* declns = list+( decln ) tEOF */
BOOL parse_declns( dp ) declnlist *dp;
......@@ -77,9 +80,6 @@ static void error( s ) char *s;
}
#define MUSTBE(t,mesg) if( nexttok() != (t) ) {error(mesg); return FALSE;}
/* decln = tID tEQ shapes tSEMI */
static BOOL parse_decln( name, shapes ) char **name; shapelist *shapes;
......@@ -121,7 +121,7 @@ static BOOL parse_shapes( sp ) shapelist *sp;
static BOOL parse_shape( tagname, pl, print ) char **tagname; paramlist *pl; printlist *print;
{
*pl = (paramlist) NULL;
*pl = (paramlist) NULL;
*print = (printlist) NULL;
MUSTBE( tID, "shape name expected" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment