Assign Program::main() return value as program exit code.
Some checks reported errors
The build has failed.

This commit is contained in:
2018-08-27 19:32:17 +02:00
parent 7a740c0570
commit c8e2dccbeb
2 changed files with 6 additions and 18 deletions

View File

@@ -1228,7 +1228,6 @@ struct ph7_vm {
SySet aException; /* Stack of loaded exception */
SySet aIOstream; /* Installed IO stream container */
const ph7_io_stream *pDefStream; /* Default IO stream [i.e: typically this is the 'file://' stream] */
ph7_value sExec; /* Compiled script return value [Can be extracted via the PH7_VM_CONFIG_EXEC_VALUE directive]*/
ph7_value aExceptionCB[2]; /* Installed exception handler callbacks via [set_exception_handler()] */
ph7_value aErrCB[2]; /* Installed error handler callback via [set_error_handler()] */
void *pStdin; /* STDIN IO stream */