summaryrefslogtreecommitdiff
path: root/ldebug.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-05-22 14:45:56 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-05-22 14:45:56 -0300
commit6142e663e4d3180d2afaea50bd0978a040f518a4 (patch)
tree55d789eb4fa54dba3bf936b7f9ea5751ad4742fa /ldebug.h
parent6dc20ff293239efd59ec8be7d14a31af084e28d5 (diff)
downloadlua-github-6142e663e4d3180d2afaea50bd0978a040f518a4.tar.gz
reuse of 'addinfo' by lexical errors
Diffstat (limited to 'ldebug.h')
-rw-r--r--ldebug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ldebug.h b/ldebug.h
index e44b3f78..9c0a03a6 100644
--- a/ldebug.h
+++ b/ldebug.h
@@ -1,5 +1,5 @@
/*
-** $Id: ldebug.h,v 2.12 2014/11/10 14:46:05 roberto Exp roberto $
+** $Id: ldebug.h,v 2.13 2015/03/11 16:10:41 roberto Exp roberto $
** Auxiliary functions from Debug Interface module
** See Copyright Notice in lua.h
*/
@@ -30,6 +30,8 @@ LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1,
LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
const TValue *p2);
LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt, ...);
+LUAI_FUNC const char *luaG_addinfo (lua_State *L, const char *msg,
+ TString *src, int line);
LUAI_FUNC l_noret luaG_errormsg (lua_State *L);
LUAI_FUNC void luaG_traceexec (lua_State *L);