|
4103 - trunk/Template/src/syntax_trees/tst/nodes [eZComponents: Trunk]: msg#00273web.ezcomponents.cvs
Author: Raymond Bosman Date: 2006-11-28 13:06:22 +0100 (Tue, 28 Nov 2006) New Revision: 4103 Log: - Fixed a problem (introduced in last commit) that the {case} blocks didn't work. Modified: trunk/Template/src/syntax_trees/tst/nodes/switch.php Modified: trunk/Template/src/syntax_trees/tst/nodes/switch.php =================================================================== --- trunk/Template/src/syntax_trees/tst/nodes/switch.php 2006-11-28 11:48:27 UTC (rev 4102) +++ trunk/Template/src/syntax_trees/tst/nodes/switch.php 2006-11-28 12:06:22 UTC (rev 4103) @@ -59,7 +59,12 @@ throw new ezcTemplateParserException( $element->source, $element->startCursor, $element->startCursor, ezcTemplateSourceToTstErrorMessages::MSG_DEFAULT_LAST ); } - parent::handleElement( $element ); + $this->children[] = $element; + $this->elements = $this->children; + return true; + + + //parent::handleElement( $element ); } elseif( $element instanceof ezcTemplateDocCommentTstNode ) { |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 4102 - trunk/Template/tests/regression_tests/blocks/correct [eZComponents: Trunk]: 00273, Jan Borsodi |
|---|---|
| Next by Date: | 4104 - in trunk/PersistentObject/tests: . data [eZComponents: Trunk]: 00273, Tobias Schlitt |
| Previous by Thread: | 4102 - trunk/Template/tests/regression_tests/blocks/correct [eZComponents: Trunk]i: 00273, Jan Borsodi |
| Next by Thread: | 4104 - in trunk/PersistentObject/tests: . data [eZComponents: Trunk]: 00273, Tobias Schlitt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |