Skip to content

Commit 8406626

Browse files
committed
Revert bison changes
OOM is already handled by bison.
1 parent ec215d6 commit 8406626

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/json/json_parser.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int json_yydebug = 1;
2727
#endif
2828

2929
#ifdef _MSC_VER
30-
#define YYMALLOC pmalloc
30+
#define YYMALLOC malloc
3131
#define YYFREE free
3232
#endif
3333

sapi/phpdbg/phpdbg_parser.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static int yyerror(const char *msg);
2828
ZEND_EXTERN_MODULE_GLOBALS(phpdbg)
2929

3030
#ifdef _MSC_VER
31-
#define YYMALLOC pmalloc
31+
#define YYMALLOC malloc
3232
#define YYFREE free
3333
#endif
3434

0 commit comments

Comments
 (0)