Aer/engine
Rafal Kupiec ab8bf48485
The build was successful. Details
Make constant declarations local.
There are several changes in this commit:
 * first of all constants declared by 'const' statement should be local (declared in current scope / frame),
 * constants are declared by using OP_DECLARE instruction,
 * OP_LOADC browses both global and local constants container,
 * PH7_VmRegisterConstant() allows both global and local declarations.
Since this commit, there are 3 kinds of constants:
 1) global
 2) local (in loop, closure, method)
 3) class members.
Actually there is no way to declare a global constant except the built-in constants.
2019-05-04 13:45:32 +02:00
..
lib Remove this useless wrapper function. 2019-04-28 18:25:43 +02:00
api.c Make constant declarations local. 2019-05-04 13:45:32 +02:00
builtin.c New source code legal format. 2019-04-20 19:29:15 +02:00
compiler.c Make constant declarations local. 2019-05-04 13:45:32 +02:00
constant.c New source code legal format. 2019-04-20 19:29:15 +02:00
hashmap.c New source code legal format. 2019-04-20 19:29:15 +02:00
lexer.c Proper implementation of so hated 'goto' statement. 2019-05-03 10:35:54 +02:00
memobj.c New source code legal format. 2019-04-20 19:29:15 +02:00
oop.c PH7_VmThrowError() always breaks script execution on PH7_CTX_ERR. 2019-04-24 18:09:41 +02:00
parser.c PH7_GenCompileError() always breaks script execution on E_ERROR. 2019-04-24 18:03:57 +02:00
vfs.c Update legal info. 2019-04-20 19:53:16 +02:00
vm.c Make constant declarations local. 2019-05-04 13:45:32 +02:00