lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 351a446ec55d0e4a7520791cc4b6ff6097739e18
parent e9885efc7c6ef785811c09e1576fb00540ace22c
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 29 Oct 2014 13:37:59 -0200

definition for 'LUA_ENV' moved from 'luaconf.h' to here (no need to
be visible outside Lua + no need for easy redefinitions)

Diffstat:
Mllex.h | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/llex.h b/llex.h @@ -1,5 +1,5 @@ /* -** $Id: llex.h,v 1.76 2013/12/30 20:47:58 roberto Exp roberto $ +** $Id: llex.h,v 1.77 2014/10/25 11:50:46 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -14,6 +14,10 @@ #define FIRST_RESERVED 257 +#if !defined(LUA_ENV) +#define LUA_ENV "_ENV" +#endif + /* * WARNING: if you change the order of this enumeration,