Browse Source

better(?) order for types (nil == 0)

Roberto Ierusalimschy 23 năm trước cách đây
mục cha
commit
0056ed4135
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ltm.c

+ 1 - 1
ltm.c

@@ -19,7 +19,7 @@
 
 
 const char *const luaT_typenames[] = {
-  "userdata", "nil", "number", "boolean", "string", "table", "function"
+  "nil", "number", "string", "boolean", "table", "userdata", "function"
 };