using "zio" for parsing Lua code.

This commit is contained in:
Roberto Ierusalimschy
1997-06-16 13:50:22 -03:00
parent 9fe5be3acf
commit c9a2dfeb2c
9 changed files with 151 additions and 204 deletions

View File

@@ -1,10 +1,11 @@
/*
** undump.h
** definitions for lua decompiler
** $Id: undump.h,v 1.3 1996/11/14 11:44:34 lhf Exp lhf $
** $Id: undump.h,v 1.4 1997/04/14 12:12:40 lhf Exp roberto $
*/
#include "func.h"
#include "zio.h"
#define IsMain(f) (f->lineDefined==0)
@@ -19,5 +20,5 @@
#define TEST_WORD 0x1234 /* a word for testing byte ordering */
#define TEST_FLOAT 0.123456789e-23 /* a float for testing representation */
TFunc* luaI_undump1(FILE* D); /* load one chunk */
int luaI_undump(FILE* D); /* load all chunks */
int luaI_undump(ZIO* Z); /* load all chunks */