Aer/include
belliash ab8bf48485
All checks were successful
The build was successful.
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
..
compiler.h Proper implementation of so hated 'goto' statement. 2019-05-03 10:35:54 +02:00
ph7.h Proper implementation of is_callback() & is_callable(). First one only performs a check if variable type is callback, while the second checks if function exists and if can be called. 2019-04-10 09:45:00 +02:00
ph7int.h Make constant declarations local. 2019-05-04 13:45:32 +02:00