cvs: pear /CodeGen_PECL/PECL/Tools ProtoParser.php

From: Date: Sun, 12 Nov 2006 06:45:00 +0000
Subject: cvs: pear /CodeGen_PECL/PECL/Tools ProtoParser.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-43047@lists.php.net to get a copy of this message
hholzgra Sun Nov 12 06:45:00 2006 UTC Modified files: /pear/CodeGen_PECL/PECL/Tools ProtoParser.php Log: update of auto generated file http://cvs.php.net/viewvc.cgi/pear/CodeGen_PECL/PECL/Tools/ProtoParser.php?r1=1.2&r2=1.3&diff_format=u Index: pear/CodeGen_PECL/PECL/Tools/ProtoParser.php diff -u pear/CodeGen_PECL/PECL/Tools/ProtoParser.php:1.2 pear/CodeGen_PECL/PECL/Tools/ProtoParser.php:1.3 --- pear/CodeGen_PECL/PECL/Tools/ProtoParser.php:1.2 Tue Oct 17 07:26:29 2006 +++ pear/CodeGen_PECL/PECL/Tools/ProtoParser.php Sun Nov 12 06:45:00 2006 @@ -108,8 +108,8 @@ function __construct(CodeGen_PECL_Extension $extension, CodeGen_PECL_Element_Function $function) { - $this->extension = $extension; - $this->function = $function; + $this->extension = $extension; + $this->function = $function; } #line 117 "ProtoParser.php" @@ -940,7 +940,7 @@ function yy_r11(){ $this->_retvalue = array("type" => "array"); } #line 946 "ProtoParser.php" #line 41 "ProtoParser.y" - function yy_r12(){ $this->_retvalue = array("type" => "object", "subtype" => $this->yystack[$this->yyidx + 0]->minor); } + function yy_r12(){ $this->_retvalue = array("type" => "object", "subtype" => $this->yystack[$this->yyidx + 0]->minor); } #line 949 "ProtoParser.php" #line 42 "ProtoParser.y" function yy_r13(){ $this->_retvalue = array("type" => "resource", "subtype" => $this->yystack[$this->yyidx + 0]->minor); } @@ -988,8 +988,8 @@ #line 83 "ProtoParser.y" function yy_r30(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor; - $this->_retvalue["name"] = $this->yystack[$this->yyidx + -2]->minor; - $this->_retvalue["default"] = $this->yystack[$this->yyidx + 0]->minor; + $this->_retvalue["name"] = $this->yystack[$this->yyidx + -2]->minor; + $this->_retvalue["default"] = $this->yystack[$this->yyidx + 0]->minor; $this->_retvalue["optional"] = true; } #line 1000 "ProtoParser.php" @@ -1012,7 +1012,7 @@ function yy_r37(){ $constant = $extension->getConstant($this->yystack[$this->yyidx + 0]->minor); if ($constant) { - $this->_retvalue = $constant->getValue(); + $this->_retvalue = $constant; } else { throw new Exception("invalid default value '".$this->yystack[$this->yyidx + 0]->minor."'"); } @@ -1133,10 +1133,10 @@ $expect = array(); foreach ($this->yy_get_expected_tokens($yymajor) as $token) { - $expect[] = self::$yyTokenName[$token]; + $expect[] = self::$yyTokenName[$token]; } throw new Exception('Unexpected ' . $this->tokenName($yymajor) . '(' . $TOKEN - . '), expected one of: ' . implode(',', $expect)); + . '), expected one of: ' . implode(',', $expect)); #line 1146 "ProtoParser.php" }

« previous php.pear.cvs (#43047) next »