diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-01-31 11:09:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-01-31 11:09:53 -0300 |
commit | 46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e (patch) | |
tree | 7e1ae9b55536171511506532a04f4ebe6dc764b0 /ltm.c | |
parent | 69c7139ff88bf26e05d80bf19d0351e5c88d13a3 (diff) | |
download | lua-46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e.tar.gz lua-46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e.tar.bz2 lua-46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e.zip |
Clearer distinction between types and tags
LUA_T* represents only types; tags (types + Variants) are represented
by LUA_V* constants.
Diffstat (limited to 'ltm.c')
-rw-r--r-- | ltm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | static const char udatatypename[] = "userdata"; | 28 | static const char udatatypename[] = "userdata"; |
29 | 29 | ||
30 | LUAI_DDEF const char *const luaT_typenames_[LUA_TOTALTAGS] = { | 30 | LUAI_DDEF const char *const luaT_typenames_[LUA_TOTALTYPES] = { |
31 | "no value", | 31 | "no value", |
32 | "nil", "boolean", udatatypename, "number", | 32 | "nil", "boolean", udatatypename, "number", |
33 | "string", "table", "function", udatatypename, "thread", | 33 | "string", "table", "function", udatatypename, "thread", |