Compiler rework merge #43

Merged
belliash merged 55 commits from compiler_rework into master 2018-08-16 21:28:49 +02:00
Showing only changes of commit 89d7aca73a - Show all commits

View File

@ -1428,7 +1428,7 @@ static int PH7_builtin_dirname(ph7_context *pCtx, int nArg, ph7_value **apArg) {
/* Point to the target path */ /* Point to the target path */
zPath = ph7_value_to_string(apArg[0], &iLen); zPath = ph7_value_to_string(apArg[0], &iLen);
if(iLen < 1) { if(iLen < 1) {
/* Reuturn "." */ /* Return "." */
ph7_result_string(pCtx, ".", sizeof(char)); ph7_result_string(pCtx, ".", sizeof(char));
return PH7_OK; return PH7_OK;
} }