aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
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}