This error
X.C(747): error: Syntax error; found '&' expecting ')'.
is generated from this prototype
int CheckGlobal (char *, int &);
for this function
int CheckGlobal (char *ZZ, int &varnum)
{
int hn;
int s;
hn=HashNumber(ZZ);
while(GlobalVarHash)
{
s=GlobalVarHash;
if(str_cmp(ZZ,GlobalVars.VarName)==0)
{
varnum=s;
return GlobalVars.VarType;
}
hn=imod(hn+1,MaxGlobalVars);
}
return vt_UNKNOWN;
}
Robert Wishlaw
Pelles C don't support references like C++. I *might* add it in a future version, but I don't really like them myself...
Pelle
Thank you, disregard my last bug report.
Robert Wishlaw