aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
Diffstat (limited to 'llex.c')
-rw-r--r--llex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llex.c b/llex.c
index b14c0257..920922eb 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 2.65 2013/04/26 13:07:53 roberto Exp roberto $ 2** $Id: llex.c,v 2.66 2013/05/14 15:59:04 roberto Exp roberto $
3** Lexical Analyzer 3** Lexical Analyzer
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -53,7 +53,7 @@ static void save (LexState *ls, int c) {
53 Mbuffer *b = ls->buff; 53 Mbuffer *b = ls->buff;
54 if (luaZ_bufflen(b) + 1 > luaZ_sizebuffer(b)) { 54 if (luaZ_bufflen(b) + 1 > luaZ_sizebuffer(b)) {
55 size_t newsize; 55 size_t newsize;
56 if (luaZ_sizebuffer(b) >= MAX_SIZET/2) 56 if (luaZ_sizebuffer(b) >= MAX_SIZE/2)
57 lexerror(ls, "lexical element too long", 0); 57 lexerror(ls, "lexical element too long", 0);
58 newsize = luaZ_sizebuffer(b) * 2; 58 newsize = luaZ_sizebuffer(b) * 2;
59 luaZ_resizebuffer(ls->L, b, newsize); 59 luaZ_resizebuffer(ls->L, b, newsize);