}
str[pos++] = c;
if (pos == str_size)
- str = Srealloc(str, str_size <<= 1);
+ str = Realloc(str, str_size <<= 1);
LoadChar(c);
}
str[pos++] = '\0'; /* for filenames etc. */
- str = Srealloc(str, pos);
+ str = Realloc(str, pos);
return str;
}
else
text[pos++] = '\\';
if (pos == text_size)
- text = Srealloc(text, text_size <<= 1);
+ text = Realloc(text, text_size <<= 1);
}
else
if ( c == '/') {
else
text[pos++] = '/';
if (pos == text_size)
- text = Srealloc(text, text_size <<= 1);
+ text = Realloc(text, text_size <<= 1);
}
else
if (formals && class(c) == STIDF) {
/* construct the formal parameter mark */
text[pos++] = FORMALP | (char) n;
if (pos == text_size)
- text = Srealloc(text,
+ text = Realloc(text,
text_size <<= 1);
}
else {
idp = id_buf;
while (pos + sz >= text_size) text_size <<= 1;
- text = Srealloc(text, text_size);
+ text = Realloc(text, text_size);
while (text[pos++] = *idp++) ;
pos--;
}
else {
text[pos++] = c;
if (pos == text_size)
- text = Srealloc(text, text_size <<= 1);
+ text = Realloc(text, text_size <<= 1);
LoadChar(c);
}
}
text[pos++] = '\0';
- text = Srealloc(text, pos);
+ text = Realloc(text, pos);
*length = pos - 1;
return text;
}
for (p = actpars[n - 1]; *p; p++) {
text[pos++] = *p;
if (pos == size)
- text = Srealloc(text, size <<= 1);
+ text = Realloc(text, size <<= 1);
}
}
else {
text[pos++] = *ptr++;
if (pos == size)
- text = Srealloc(text, size <<= 1);
+ text = Realloc(text, size <<= 1);
}
}
text[pos] = '\0';
*siztext = pos;
- return Srealloc(text, pos+1);
+ return Realloc(text, pos+1);
}
EXPORT