- //char buf[160];
- char *buf = NULL;
- buf = (char *)malloc((strlen(sy->sname) + 7) * sizeof(char));
- if (NULL != buf) {
- sprintf(buf, "%s = r%d",sy->sname, sy->svalue);
- return errors("Attempted index reference with non-indexable register within EQUR (%s)", buf);
- }
- return errors("Unable to allocate memory! (IllegalIndexRegisterEqur)", "OOPS");
+ return error("Attempted index reference with non-indexable register within EQUR (%s = r%d)", sy->sname, sy->svalue);