aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-17 13:28:21 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-17 13:28:21 -0300
commitf97c64d7bf4c0f373711795d8faba0e8cd206761 (patch)
tree99c9e25132b2ef193dc417873e8f44e5c0ea8738 /ldo.c
parentea3155e380080095a6f8c63297f0505789cf08b7 (diff)
downloadlua-f97c64d7bf4c0f373711795d8faba0e8cd206761.tar.gz
lua-f97c64d7bf4c0f373711795d8faba0e8cd206761.tar.bz2
lua-f97c64d7bf4c0f373711795d8faba0e8cd206761.zip
macros 'LUA_QL'/'LUA_QL' deprecated
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index 05c6d551..c58831eb 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 2.128 2014/10/07 18:29:13 roberto Exp roberto $ 2** $Id: ldo.c,v 2.129 2014/10/08 12:20:26 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -662,7 +662,7 @@ struct SParser { /* data to `f_parser' */
662static void checkmode (lua_State *L, const char *mode, const char *x) { 662static void checkmode (lua_State *L, const char *mode, const char *x) {
663 if (mode && strchr(mode, x[0]) == NULL) { 663 if (mode && strchr(mode, x[0]) == NULL) {
664 luaO_pushfstring(L, 664 luaO_pushfstring(L,
665 "attempt to load a %s chunk (mode is " LUA_QS ")", x, mode); 665 "attempt to load a %s chunk (mode is '%s')", x, mode);
666 luaD_throw(L, LUA_ERRSYNTAX); 666 luaD_throw(L, LUA_ERRSYNTAX);
667 } 667 }
668} 668}