Permalink
Browse files

scope fix

git-svn-id: http://svn.php.net/repository/pear/packages/CodeGen_PECL/trunk@233148 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 025808d commit d0311c3d85e7a49a1336e0f7a2582d0994e65326 Hartmut Holzgraefe committed Apr 2, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 PECL/Tools/ProtoParser.y
View
@@ -94,7 +94,7 @@ default(A) ::= NUMVAL(B). { A = B; }
default(A) ::= STRVAL(B). { A = '"'.B.'"'; }
default(A) ::= ARRAY_ PAR_OPEN PAR_CLOSE. { A = "array()"; }
default(A) ::= NAME(B). {
- $constant = $extension->getConstant(B);
+ $constant = $this->extension->getConstant(B);
if ($constant) {
A = $constant;
} else {

0 comments on commit d0311c3

Please sign in to comment.