summaryrefslogtreecommitdiff
path: root/libs/liblua/src/lparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/liblua/src/lparser.h')
-rw-r--r--libs/liblua/src/lparser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/liblua/src/lparser.h b/libs/liblua/src/lparser.h
index 618cb0106f..2e6dae72f2 100644
--- a/libs/liblua/src/lparser.h
+++ b/libs/liblua/src/lparser.h
@@ -23,7 +23,7 @@
/* kinds of variables/expressions */
typedef enum {
- VVOID, /* when 'expdesc' describes the last expression a list,
+ VVOID, /* when 'expdesc' describes the last expression of a list,
this kind means an empty list (so, no expression) */
VNIL, /* constant nil */
VTRUE, /* constant true */
@@ -38,7 +38,8 @@ typedef enum {
VLOCAL, /* local variable; var.sidx = stack index (local register);
var.vidx = relative index in 'actvar.arr' */
VUPVAL, /* upvalue variable; info = index of upvalue in 'upvalues' */
- VCONST, /* compile-time constant; info = absolute index in 'actvar.arr' */
+ VCONST, /* compile-time <const> variable;
+ info = absolute index in 'actvar.arr' */
VINDEXED, /* indexed variable;
ind.t = table register;
ind.idx = key's R index */