From 36b6fe8d175bb2aec8fc55ffb090eab90cb12fd8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 17 Jun 1999 14:04:03 -0300 Subject: better treatment for arbitrary limits --- llex.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'llex.h') diff --git a/llex.h b/llex.h index 84c0ee99..058e3ee0 100644 --- a/llex.h +++ b/llex.h @@ -1,5 +1,5 @@ /* -** $Id: llex.h,v 1.10 1998/07/24 18:02:38 roberto Exp roberto $ +** $Id: llex.h,v 1.11 1999/02/25 19:13:56 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -25,7 +25,9 @@ enum RESERVED { NAME, CONC, DOTS, EQ, GE, LE, NE, NUMBER, STRING, EOS}; -#define MAX_IFS 5 +#ifndef MAX_IFS +#define MAX_IFS 5 /* arbitrary limit */ +#endif /* "ifstate" keeps the state of each nested $if the lexical is dealing with. */ -- cgit v1.2.3-55-g6feb