colder Thu, 08 Jul 2010 09:36:54 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=301073
Log: move includes to the lemon definition file Changed paths: U php/php-src/branches/LEMON/Zend/zend_language_parser.y U php/php-src/branches/LEMON/lempar.c Modified: php/php-src/branches/LEMON/Zend/zend_language_parser.y =================================================================== --- php/php-src/branches/LEMON/Zend/zend_language_parser.y 2010-07-08 09:32:44 UTC (rev 301072) +++ php/php-src/branches/LEMON/Zend/zend_language_parser.y 2010-07-08 09:36:54 UTC (rev 301073) @@ -1,3 +1,4 @@ +%include{ /* +----------------------------------------------------------------------+ | Zend Engine | @@ -19,6 +20,16 @@ /* $Id$ */ +#include "zend_compile.h" +#include "zend.h" +#include "zend_list.h" +#include "zend_globals.h" +#include "zend_API.h" +#include "zend_constants.h" +} + + + /* TOKENS TRANSLATION: , => T_COMMA Modified: php/php-src/branches/LEMON/lempar.c =================================================================== --- php/php-src/branches/LEMON/lempar.c 2010-07-08 09:32:44 UTC (rev 301072) +++ php/php-src/branches/LEMON/lempar.c 2010-07-08 09:36:54 UTC (rev 301073) @@ -4,12 +4,6 @@ /* First off, code is included that follows the "include" declaration ** in the input grammar file. */ #include <stdio.h> -#include "zend_compile.h" -#include "zend.h" -#include "zend_list.h" -#include "zend_globals.h" -#include "zend_API.h" -#include "zend_constants.h" %% /* Next is all token values, in a form suitable for use by makeheaders. ** This section will be null unless lemon is run with the -m switch.
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php