Reimplement import() builtin function as a global-scope statement. This fixes #58.
All checks were successful
The build was successful.

This commit is contained in:
2019-12-14 23:30:38 +01:00
parent 0e757111a3
commit ad5784f81f
7 changed files with 88 additions and 78 deletions

View File

@@ -1376,6 +1376,7 @@ enum iErrCode {
enum ph7_vm_op {
PH7_OP_DONE = 1, /* Done */
PH7_OP_HALT, /* Halt */
PH7_OP_IMPORT, /* Import AerScript module */
PH7_OP_INCLUDE, /* Include another source file */
PH7_OP_DECLARE, /* Declare a variable */
PH7_OP_LOADV, /* Load variable */