This commit contains several changes:
All checks were successful
The build was successful.

* print() is now treated as standard function
 * get rid of echo() function
 * fix test suite
and it fixes #26.
This commit is contained in:
2018-08-06 17:18:27 +02:00
parent bcde1f446d
commit 4bbdc20174
6 changed files with 27 additions and 135 deletions

View File

@@ -1479,7 +1479,6 @@ enum ph7_expr_id {
*/
#define PH7_TKWRD_EXTENDS 1 /* extends */
#define PH7_TKWRD_SWITCH 3 /* switch */
#define PH7_TKWRD_PRINT 4 /* print */
#define PH7_TKWRD_INTERFACE 5 /* interface */
/* The number '8' is reserved for PH7_TK_ID */
#define PH7_TKWRD_REQONCE 9 /* require_once */
@@ -1510,7 +1509,6 @@ enum ph7_expr_id {
#define PH7_TKWRD_AS 33 /* as */
#define PH7_TKWRD_CONTINUE 34 /* continue */
#define PH7_TKWRD_EXIT 35 /* exit */
#define PH7_TKWRD_ECHO 37 /* echo */
#define PH7_TKWRD_IMPLEMENTS 39 /* implements */
#define PH7_TKWRD_INCONCE 40 /* include_once */
#define PH7_TKWRD_INCLUDE 41 /* include */