summaryrefslogtreecommitdiff
path: root/libs/liblua/src/lparser.h
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2020-12-03 22:07:47 +0300
committerdartraiden <wowemuh@gmail.com>2020-12-03 22:11:32 +0300
commitb2a67a796656f20dfae0ecdf7c2870d3ece927b4 (patch)
tree9303169add151612645879732a069b779a0c92ba /libs/liblua/src/lparser.h
parentddade34e808330a64902d55fdbcb496c576599db (diff)
liblua: update to 5.4.2
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 */