aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lparser.c b/lparser.c
index b70c609e..7447222b 100644
--- a/lparser.c
+++ b/lparser.c
@@ -694,9 +694,10 @@ static Proto *addprototype (LexState *ls) {
694 694
695/* 695/*
696** codes instruction to create new closure in parent function. 696** codes instruction to create new closure in parent function.
697** The OP_CLOSURE instruction must use the last available register, 697** The OP_CLOSURE instruction uses the last available register,
698** so that, if it invokes the GC, the GC knows which registers 698** so that, if it invokes the GC, the GC knows which registers
699** are in use at that time. 699** are in use at that time.
700
700*/ 701*/
701static void codeclosure (LexState *ls, expdesc *v) { 702static void codeclosure (LexState *ls, expdesc *v) {
702 FuncState *fs = ls->fs->prev; 703 FuncState *fs = ls->fs->prev;