]> granicus.if.org Git - php/commit
Don't distinguish between ast/list in parser
authorNikita Popov <nikic@php.net>
Fri, 29 Aug 2014 18:52:26 +0000 (20:52 +0200)
committerNikita Popov <nikic@php.net>
Fri, 29 Aug 2014 19:02:10 +0000 (21:02 +0200)
commit545fd5168ed0eaaf23e12f11c48e8dc358de3ee3
treef2349805978f44dc3eef3a70a319d2112bb650f0
parent25d57aace3384426c182fc7f460b0dd5f330c6b0
Don't distinguish between ast/list in parser

This removes the need to use $<ast>{n} or $<list>$ casts in the
reduction actions.

Keeping the distinction in the parser doesn't really give us any
benefit and only makes changing the grammar harder.
Zend/zend_ast.c
Zend/zend_ast.h
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_language_parser.y