Fix typo Expr_ErrorSupress -> Expr_ErrorSuppress

This commit is contained in:
nikic 2011-06-04 15:37:13 +02:00
parent 8294ceb754
commit 4006e55951
6 changed files with 6 additions and 6 deletions

View File

@ -516,7 +516,7 @@ expr:
| T_BOOL_CAST expr { $$ = new Node_Expr_BoolCast(array('expr' => $2)); }
| T_UNSET_CAST expr { $$ = new Node_Expr_UnsetCast(array('expr' => $2)); }
| T_EXIT exit_expr { $$ = new Node_Expr_Exit(array('expr' => $2)); }
| '@' expr { $$ = new Node_Expr_ErrorSupress(array('expr' => $2)); }
| '@' expr { $$ = new Node_Expr_ErrorSuppress(array('expr' => $2)); }
| scalar { $$ = $1; }
| T_ARRAY '(' array_pair_list ')' { $$ = new Node_Expr_Array(array('items' => $3)); }
| '`' backticks_expr '`' { $$ = new Node_Expr_ShellExec(array('parts' => $2)); }

View File

@ -516,7 +516,7 @@ expr:
| T_BOOL_CAST expr { $$ = Expr_BoolCast[expr: $2]; }
| T_UNSET_CAST expr { $$ = Expr_UnsetCast[expr: $2]; }
| T_EXIT exit_expr { $$ = Expr_Exit[expr: $2]; }
| '@' expr { $$ = Expr_ErrorSupress[expr: $2]; }
| '@' expr { $$ = Expr_ErrorSuppress[expr: $2]; }
| scalar { $$ = $1; }
| T_ARRAY '(' array_pair_list ')' { $$ = Expr_Array[items: $3]; }
| '`' backticks_expr '`' { $$ = Expr_ShellExec[parts: $2]; }

View File

@ -3,6 +3,6 @@
/**
* @property Node_Expr $expr Expression
*/
class Node_Expr_ErrorSupress extends Node_Expr
class Node_Expr_ErrorSuppress extends Node_Expr
{
}

View File

@ -1938,7 +1938,7 @@ class Parser
}
private function yyn228() {
$this->yyval = new Node_Expr_ErrorSupress(array('expr' => $this->yyastk[$this->yysp-(2-2)]));
$this->yyval = new Node_Expr_ErrorSuppress(array('expr' => $this->yyastk[$this->yysp-(2-2)]));
}
private function yyn229() {

View File

@ -2340,7 +2340,7 @@ class ParserDebug
}
private function yyn228() {
$this->yyval = new Node_Expr_ErrorSupress(array('expr' => $this->yyastk[$this->yysp-(2-2)]));
$this->yyval = new Node_Expr_ErrorSuppress(array('expr' => $this->yyastk[$this->yysp-(2-2)]));
}
private function yyn229() {

View File

@ -275,7 +275,7 @@ class PrettyPrinter_Zend extends PrettyPrinterAbstract
return $this->p($node->var) . '--';
}
public function pExpr_ErrorSupress(Node_Expr_ErrorSupress $node) {
public function pExpr_ErrorSuppress(Node_Expr_ErrorSuppress $node) {
return '@' . $this->p($node->expr);
}