Skip to content

Commit

Permalink
Remove unneeded & and silence debug output on stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskid committed Jan 29, 2023
1 parent 9fa2b83 commit 834321b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SmartyGenerator/ParserGenerator/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ public function display($processed = false)
* @param Symbol
* @param State|Rule
*/
public static function Action_add(&$app, $type, Symbol $sp, $arg)
public static function Action_add($app, $type, Symbol $sp, $arg)
{
$new = new Action;
$new->next = $app;
$new->type = $type;
$new->sp = $sp;
$new->x = $arg;
echo ' Adding ';
$new->display();
// echo ' Adding ';
// $new->display();
return $new;
}

Expand Down

0 comments on commit 834321b

Please sign in to comment.