allow for multiple parsers within one program

This commit is contained in:
ceriel
1990-01-29 13:51:32 +00:00
parent 53c919642c
commit feb0e8498a
3 changed files with 12 additions and 22 deletions

View File

@@ -1,6 +1,8 @@
/* $Header$ */
#ifdef LL_DEBUG
#define LL_assert(x) if(!(x)) LL_badassertion("x",__FILE__,__LINE__)
#include <assert.h>
#include <stdio.h>
#define LL_assert(x) assert(x)
#else
#define LL_assert(x) /* nothing */
#endif
@@ -15,8 +17,6 @@ extern int LLsymb;
#define LLscan(x) if ((LLsymb = LL_LEXI()) != x) LLerror(x); else
#endif
# include "Lpars.h"
extern unsigned int LLscnt[];
extern unsigned int LLtcnt[];
extern int LLcsymb;