From 3087636c76dd8d2416b4872a906e3df4f9cddb44 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 Oct 2003 13:07:44 -0300 Subject: [PATCH] detail --- llex.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llex.c b/llex.c index 9974197e..c7a28d52 100644 --- a/llex.c +++ b/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 1.125 2003/09/04 20:00:28 roberto Exp roberto $ +** $Id: llex.c,v 1.126 2003/10/03 16:05:34 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -25,12 +25,10 @@ #define next(ls) (ls->current = zgetc(ls->z)) -#define MINLEXBUF 32 - #define save(ls,c) { \ Mbuffer *b = ls->buff; \ if (b->n + 1 > b->buffsize) \ - luaZ_resizebuffer(ls->L, b, ((b->buffsize*2) + MINLEXBUF)); \ + luaZ_resizebuffer(ls->L, b, ((b->buffsize*2) + LUA_MINBUFFER)); \ b->buffer[b->n++] = cast(char, c); }