|
@@ -306,7 +306,9 @@ |
|
|
block discarded – undo |
|
306
|
306
|
private function peg_f3($body) { return $body; } |
|
307
|
307
|
private function peg_f4($name) { |
|
308
|
308
|
return new \Seufert\Hamle\TextNode\ScopeId(null, null, new \Seufert\Hamle\TextNode\ModelParam($name)); } |
|
309
|
|
- private function peg_f5($expr, $chain) { if(!$chain) return $expr; |
|
|
309
|
+ private function peg_f5($expr, $chain) { if(!$chain) { |
|
|
310
|
+ return $expr; |
|
|
311
|
+ } |
|
310
|
312
|
$top = array_pop($chain); |
|
311
|
313
|
while($chain) { $top = array_pop($chain)->withChain($top); } return $expr->withChain($top); } |
|
312
|
314
|
private function peg_f6($sub) { return $sub; } |
Please login to merge, or discard this patch.