1. Laurens Rodriguez
  2. love

Commits

Laurens Rodriguez  committed 47450d8

kdump.c: fixes from Lua 5.2.2

  • Participants
  • Parent commits e74da0a
  • Branches dev

Comments (0)

Files changed (1)

File src/libraries/killa/kdump.c

View file
  • Ignore whitespace
  for (i=0; i<n; i++)
  {
   const killa_TValue* o=&f->k[i];
-  DumpChar(killa_ttype(o),D);
-  switch (killa_ttype(o))
+  DumpChar(killa_ttypenv(o),D);
+  switch (killa_ttypenv(o))
   {
    case KILLA_TNULL:
 	break;
    case KILLA_TSTRING:
 	DumpString(killa_rawtsvalue(o),D);
 	break;
+   default: killa_assert(0);
   }
  }
  n=f->sizep;