summaryrefslogtreecommitdiff
path: root/src/lj_cparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_cparse.c')
-rw-r--r--src/lj_cparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_cparse.c b/src/lj_cparse.c
index f302080f..523e5146 100644
--- a/src/lj_cparse.c
+++ b/src/lj_cparse.c
@@ -364,7 +364,7 @@ static void cp_init(CPState *cp)
364 cp->depth = 0; 364 cp->depth = 0;
365 cp->curpack = 0; 365 cp->curpack = 0;
366 cp->packstack[0] = 255; 366 cp->packstack[0] = 255;
367 lj_str_initbuf(cp->L, &cp->sb); 367 lj_str_initbuf(&cp->sb);
368 lj_str_resizebuf(cp->L, &cp->sb, LJ_MIN_SBUF); 368 lj_str_resizebuf(cp->L, &cp->sb, LJ_MIN_SBUF);
369 lua_assert(cp->p != NULL); 369 lua_assert(cp->p != NULL);
370 cp_get(cp); /* Read-ahead first char. */ 370 cp_get(cp); /* Read-ahead first char. */