Commit fe189fca authored by dcw's avatar dcw

NEW_ -> NEW

parent f52c95b7
......@@ -18,10 +18,12 @@
#include <dcw.h>
#include "struct.h"
#define Puts(s) fputs(s,stdout)
declnlist build_declnlist(name,s,next) char *name; shapelist s; declnlist next;
{
declnlist new = NEW_(declnlist);
declnlist new = NEW(declnlist);
COPYOF(new->name, name);
new->shapes = s;
......@@ -44,7 +46,7 @@ void print_declnlist(d) declnlist d;
shapelist build_shapelist(id, p, pl, next) char *id; paramlist p; printlist pl; shapelist next;
{
shapelist new = NEW_(shapelist);
shapelist new = NEW(shapelist);
COPYOF(new->name, id);
new->params = p;
......@@ -84,7 +86,7 @@ void print_shapelist(s) shapelist s;
paramlist build_paramlist(type, id, next) char *type, *id; paramlist next;
{
paramlist new = NEW_(paramlist);
paramlist new = NEW(paramlist);
COPYOF(new->type, type);
COPYOF(new->name, id);
......@@ -109,7 +111,7 @@ void print_paramlist(p) paramlist p;
printitem build_printitem_str(s) char *s;
{
printitem new = NEW_( printitem );
printitem new = NEW( printitem );
new->tag = printitem_is_str;
new->str = s;
......@@ -120,7 +122,7 @@ printitem build_printitem_str(s) char *s;
printitem build_printitem_num(n) int n;
{
printitem new = NEW_(printitem);
printitem new = NEW(printitem);
new->tag = printitem_is_num;
new->num = n;
......@@ -147,7 +149,7 @@ void print_printitem(i) printitem i;
printlist build_printlist(h, t) printitem h; printlist t;
{
printlist new = NEW_(printlist);
printlist new = NEW(printlist);
new->item = h;
new->next = t;
......
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