extern char LLsets[];
#define LL_SAFE(x) /* Nothing */
-#define LL_SSCANDONE(x) if (LLsymb != x) LLmessage(x); else
+#define LL_SSCANDONE(x) if (LLsymb != x) LLerror(x); else
#define LL_SCANDONE(x) if (LLsymb != x) LLerror(x); else
#define LL_T_NOSCANDONE(x) LLscan(x)
return;
}
#endif
+#ifdef LL_USERHOOK
+ LL_USERHOOK(t);
+ LLread();
+#endif LL_USERHOOK
if ((LLcsymb = LLindex[LLsymb]) < 0) {
LLmessage(0);
LLread();
}
i = LLindex[t];
LLtcnt[i]++;
- if (LLskip()) /* nothing */;
+ if (LLdoskip()) /* nothing */;
LLtcnt[i]--;
if (LLsymb != t) LLmessage(t);
}
}
LLskip() {
+#ifdef LL_USERHOOK
+ LL_USERHOOK(0);
+ LLread();
+#endif LL_USERHOOK
+ return LLdoskip();
+}
+
+LLdoskip()
+{
register int i;
int retval;
int LLi, LLb;