colder                                   Fri, 09 Jul 2010 11:43:27 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=301121

Log:
fix array

Changed paths:
    U   php/php-src/branches/LEMON/Zend/zend_language_parser.y

Modified: php/php-src/branches/LEMON/Zend/zend_language_parser.y
===================================================================
--- php/php-src/branches/LEMON/Zend/zend_language_parser.y      2010-07-09 
11:39:27 UTC (rev 301120)
+++ php/php-src/branches/LEMON/Zend/zend_language_parser.y      2010-07-09 
11:43:27 UTC (rev 301121)
@@ -1411,8 +1411,8 @@
 //     |       static_scalar { $$.op_type = IS_CONST; 
INIT_PZVAL(&$$.u.constant); array_init(&$$.u.constant); 
zend_do_add_static_array_element(&$$, NULL, &$1); }
 //;

-non_empty_static_array_pair_list(A) ::= non_empty_static_array_pair_list COMMA 
static_scalar(B) DOUBLE_ARROW static_scalar(C). { 
zend_do_add_static_array_element(&A, &B, &C); }
-non_empty_static_array_pair_list(A) ::= non_empty_static_array_pair_list COMMA 
static_scalar(B). { zend_do_add_static_array_element(&A, NULL, &B); }
+non_empty_static_array_pair_list(A) ::= non_empty_static_array_pair_list(B) 
COMMA static_scalar(C) DOUBLE_ARROW static_scalar(D). { 
zend_do_add_static_array_element(&B, &C, &D); A = B; }
+non_empty_static_array_pair_list(A) ::= non_empty_static_array_pair_list(B) 
COMMA static_scalar(C). { zend_do_add_static_array_element(&B, NULL, &C); A = 
B; }
 non_empty_static_array_pair_list(A) ::= static_scalar(B) DOUBLE_ARROW 
static_scalar(C). { A.op_type = IS_CONST;
                                                                                
           INIT_PZVAL(&A.u.constant);
                                                                                
           array_init(&A.u.constant);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to