Mercurial > vba-clojure
comparison src/lua/loadlib.c @ 33:44974c3e093b
found source of problem for video recording
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 05 Mar 2012 01:25:11 -0600 |
parents | 27763b933818 |
children |
comparison
equal
deleted
inserted
replaced
32:0dc331ec7f27 | 33:44974c3e093b |
---|---|
422 filename = findfile(L, lua_tostring(L, -1), "cpath"); | 422 filename = findfile(L, lua_tostring(L, -1), "cpath"); |
423 if (filename == NULL) return 1; /* root not found */ | 423 if (filename == NULL) return 1; /* root not found */ |
424 funcname = mkfuncname(L, name); | 424 funcname = mkfuncname(L, name); |
425 if ((stat = ll_loadfunc(L, filename, funcname)) != 0) { | 425 if ((stat = ll_loadfunc(L, filename, funcname)) != 0) { |
426 if (stat != ERRFUNC) loaderror(L, filename); /* real error */ | 426 if (stat != ERRFUNC) loaderror(L, filename); /* real error */ |
427 lua_pushfstring(L, "\n\tno module " LUA_QS " in file " LUA_QS, | 427 lua_pushfstring(L, "\n\tno module " LUA_QS " in derp " LUA_QS, |
428 name, filename); | 428 name, filename); |
429 return 1; /* function not found */ | 429 return 1; /* function not found */ |
430 } | 430 } |
431 return 1; | 431 return 1; |
432 } | 432 } |