aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-05-08 17:50:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-05-08 17:50:10 -0300
commit262dc5729a28b2bad0b6413d4eab2290d14395cf (patch)
treec92cbf6c6d5d88bc352dd71f7f27be4dd44cf16f /lauxlib.c
parent9d985db7bb09c92b5b3fa660fffe5907d01e6a02 (diff)
downloadlua-262dc5729a28b2bad0b6413d4eab2290d14395cf.tar.gz
lua-262dc5729a28b2bad0b6413d4eab2290d14395cf.tar.bz2
lua-262dc5729a28b2bad0b6413d4eab2290d14395cf.zip
Details
Corrections in comments and manual. Added note in the manual about local variables in the REPL.
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 634c85cd..1f786e15 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1044,7 +1044,7 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) {
1044 1044
1045 1045
1046/* 1046/*
1047** Standard panic funcion just prints an error message. The test 1047** Standard panic function just prints an error message. The test
1048** with 'lua_type' avoids possible memory errors in 'lua_tostring'. 1048** with 'lua_type' avoids possible memory errors in 'lua_tostring'.
1049*/ 1049*/
1050static int panic (lua_State *L) { 1050static int panic (lua_State *L) {