--- ray/src/common/caldefn.c 2003/10/27 10:19:31 2.21 +++ ray/src/common/caldefn.c 2010/03/05 17:28:46 2.24 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: caldefn.c,v 2.21 2003/10/27 10:19:31 schorsch Exp $"; +static const char RCSid[] = "$Id: caldefn.c,v 2.24 2010/03/05 17:28:46 greg Exp $"; #endif /* * Store variable definitions. @@ -32,6 +32,7 @@ static const char RCSid[] = "$Id: caldefn.c,v 2.21 200 #include #include "rterror.h" +#include "rtio.h" #include "rtmisc.h" #include "calcomp.h" @@ -623,7 +624,7 @@ getdefn(void) do { scan(); if (!isalpha(nextc)) - syntax("illegal variable name"); + syntax("illegal parameter name"); ep2 = newnode(); ep2->type = SYM; ep2->v.name = savestr(getname()); @@ -646,7 +647,7 @@ getdefn(void) if (ep1->type == SYM && ep1->sibling->type != NUM) { ep1 = newnode(); - ep1->type = TICK; + ep1->type = CLKT; ep1->v.tick = 0; addekid(ep2, ep1); ep1 = newnode();