#ifdef LL_USERHOOK
static LLdoskip();
+static int LLuserhook():
#endif
#ifndef LL_FASTER
-LLscan(t) {
+LLscan(t)
+ int t;
+{
/*
* Check if the next symbol is equal to the parameter
*/
/* NOTREACHED */
}
-LLerror(t) {
+LLerror(t)
+ int t;
+{
register int i;
if (t == EOFILE && LLsymb <= 0) return;
if (t == EOFILE) {
#ifdef LL_USERHOOK
static int lst[] = { EOFILE, 0 };
- LLuserhook(EOFILE, lst);
+ if (LLuserhook(EOFILE, lst)) /* nothing */;
#endif LL_USERHOOK
if (LLsymb != EOFILE && LLsymb > 0) {
LLmessage(-1);
}
# endif
-LLnext(n) {
+LLnext(n)
+ int n;
+{
/* returns: 0 if the current symbol is'nt skipped, and it
is'nt a member of "n",
1 if we have a new symbol, but it is'nt a member,
static int
LLuserhook(exp, list)
+ int exp;
int *list;
{
int old = LLsymb;
}
static
-LLdoskip(exp) {
+LLdoskip(exp)
+ int exp;
+{
int LLx;
int list[LL_NTERMINALS+1];
#endif LL_USERHOOK
LLtincr(0);
}
-LLoldlevel(LLsinfo) unsigned int *LLsinfo; {
+LLoldlevel(LLsinfo)
+ unsigned int *LLsinfo;
+{
register int i;
LLtdecr(0);