native Lua  0.4.0
Lua on the platform you use with the compiler you choose
Data Structures | Macros | Typedefs | Functions
lparser.c File Reference
#include "lprefix.h"
#include <string.h>
#include "lua.h"
#include "lcode.h"
#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#include "llex.h"
#include "lmem.h"
#include "lobject.h"
#include "lopcodes.h"
#include "lparser.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
Include dependency graph for lparser.c:

Data Structures

struct  BlockCnt
 
struct  ConsControl
 
struct  LHS_assign
 

Macros

#define lparser_c
 
#define LUA_CORE
 
#define MAXVARS   200
 
#define hasmultret(k)   ((k) == VCALL || (k) == VVARARG)
 
#define eqstr(a, b)   ((a) == (b))
 
#define check_condition(ls, c, msg)   { if (!(c)) luaX_syntaxerror(ls, msg); }
 
#define new_localvarliteral(ls, v)    new_localvarliteral_(ls, "" v, (sizeof(v)/sizeof(char))-1)
 
#define leavelevel(ls)   ((ls)->L->nCcalls--)
 
#define UNARY_PRIORITY   12 /* priority for unary operators */
 

Typedefs

typedef struct BlockCnt BlockCnt
 

Functions

LClosureluaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, Dyndata *dyd, const char *name, int firstchar)
 

Macro Definition Documentation

◆ check_condition

#define check_condition (   ls,
  c,
  msg 
)    { if (!(c)) luaX_syntaxerror(ls, msg); }

◆ eqstr

#define eqstr (   a,
 
)    ((a) == (b))

◆ hasmultret

#define hasmultret (   k)    ((k) == VCALL || (k) == VVARARG)

◆ leavelevel

#define leavelevel (   ls)    ((ls)->L->nCcalls--)

◆ lparser_c

#define lparser_c

◆ LUA_CORE

#define LUA_CORE

◆ MAXVARS

#define MAXVARS   200

◆ new_localvarliteral

#define new_localvarliteral (   ls,
 
)     new_localvarliteral_(ls, "" v, (sizeof(v)/sizeof(char))-1)

◆ UNARY_PRIORITY

#define UNARY_PRIORITY   12 /* priority for unary operators */

Typedef Documentation

◆ BlockCnt

typedef struct BlockCnt BlockCnt

Function Documentation

◆ luaY_parser()

LClosure* luaY_parser ( lua_State L,
ZIO z,
Mbuffer buff,
Dyndata dyd,
const char *  name,
int  firstchar 
)

Variable Documentation

◆ left

lu_byte left

◆ right

lu_byte right