Explorar o código

Fix errant print statements

These were being printed to stdout instead of in the intended place
Hugo Musso Gualandi %!s(int64=4) %!d(string=hai) anos
pai
achega
8e291809bf
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/luaot.c

+ 2 - 2
src/luaot.c

@@ -304,10 +304,10 @@ void PrintConstant(const Proto* f, int i)
             print("nil");
             break;
         case LUA_VFALSE:
-            printf("false");
+            print("false");
             break;
         case LUA_VTRUE:
-            printf("true");
+            print("true");
             break;
         case LUA_VNUMFLT:
             {