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.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'llex.c') diff --git a/llex.c b/llex.c index 3734b003..4368fe66 100644 --- a/llex.c +++ b/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 1.34 1999/03/25 21:05:05 roberto Exp roberto $ +** $Id: llex.c,v 1.35 1999/05/14 12:24:04 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -106,7 +106,9 @@ void luaX_setinput (LexState *LS, ZIO *z) ** ======================================================= */ -#define PRAGMASIZE 80 +#ifndef PRAGMASIZE +#define PRAGMASIZE 80 /* arbitrary limit */ +#endif static void skipspace (LexState *LS) { while (LS->current == ' ' || LS->current == '\t' || LS->current == '\r') -- cgit v1.2.3-55-g6feb