aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2016-07-18 14:55:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2016-07-18 14:55:59 -0300
commitde3fd8ab83763960433283a07d32e7a6bb986ea8 (patch)
tree50b522bf8019527322aa0d400788e82d9049f470 /luaconf.h
parent788109a3de05462f19c5c05033581c1eab9e9283 (diff)
downloadlua-de3fd8ab83763960433283a07d32e7a6bb986ea8.tar.gz
lua-de3fd8ab83763960433283a07d32e7a6bb986ea8.tar.bz2
lua-de3fd8ab83763960433283a07d32e7a6bb986ea8.zip
Handling of LUA_PATH/LUA_CPATH moved from package library to stand
alone interpreter (so that 'lua.c' concentrates all handling of environment variables)
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index fa1fcd4d..2992c911 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.254 2015/10/21 18:17:40 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.255 2016/05/01 20:06:09 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -159,6 +159,18 @@
159*/ 159*/
160 160
161/* 161/*
162** LUA_PATH_SEP is the character that separates templates in a path.
163** LUA_PATH_MARK is the string that marks the substitution points in a
164** template.
165** LUA_EXEC_DIR in a Windows path is replaced by the executable's
166** directory.
167*/
168#define LUA_PATH_SEP ";"
169#define LUA_PATH_MARK "?"
170#define LUA_EXEC_DIR "!"
171
172
173/*
162@@ LUA_PATH_DEFAULT is the default path that Lua uses to look for 174@@ LUA_PATH_DEFAULT is the default path that Lua uses to look for
163** Lua libraries. 175** Lua libraries.
164@@ LUA_CPATH_DEFAULT is the default path that Lua uses to look for 176@@ LUA_CPATH_DEFAULT is the default path that Lua uses to look for