mirror of https://github.com/lua/lua.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
458 B
27 lines
458 B
/*
|
|
** tree.h
|
|
** TecCGraf - PUC-Rio
|
|
** $Id: $
|
|
*/
|
|
|
|
#ifndef tree_h
|
|
#define tree_h
|
|
|
|
#include "opcode.h"
|
|
|
|
|
|
#define UNMARKED_STRING 0xFFFF
|
|
#define MARKED_STRING 0xFFFE
|
|
#define MAX_WORD 0xFFFD
|
|
|
|
#define indexstring(s) (*(((Word *)s)-1))
|
|
|
|
|
|
char *lua_strcreate (char *str);
|
|
char *lua_constcreate (char *str);
|
|
char *lua_varcreate (char *str);
|
|
void lua_strcollector (void);
|
|
char *lua_varnext (char *n);
|
|
char *lua_varname (Word index);
|
|
|
|
#endif
|
|
|