Author: dr
Date: Wed Jan 30 16:51:37 2008
New Revision: 7266
Log:
- Fixed whitespace.
Modified:
trunk/Template/src/parsers/source_to_tst/implementations/foreach_loop.php
trunk/Template/src/syntax_trees/tst/interfaces/tst_visitor.php
trunk/Template/tests/regression_suite.php
Modified:
trunk/Template/src/parsers/source_to_tst/implementations/foreach_loop.php
==============================================================================
--- trunk/Template/src/parsers/source_to_tst/implementations/foreach_loop.php
[iso-8859-1] (original)
+++ trunk/Template/src/parsers/source_to_tst/implementations/foreach_loop.php
[iso-8859-1] Wed Jan 30 16:51:37 2008
@@ -131,9 +131,14 @@
throw new ezcTemplateParserException(
$this->parser->source, $this->startCursor, $this->currentCursor,
ezcTemplateSourceToTstErrorMessages::MSG_EXPECT_VARIABLE );
}
- if ( $matchIncrement ) $el->increment[] =
$this->lastParser->element;
- else $el->decrement[] = $this->lastParser->element;
-
+ if ( $matchIncrement )
+ {
+ $el->increment[] = $this->lastParser->element;
+ }
+ else
+ {
+ $el->decrement[] = $this->lastParser->element;
+ }
$this->findNextElement();
}
Modified: trunk/Template/src/syntax_trees/tst/interfaces/tst_visitor.php
==============================================================================
--- trunk/Template/src/syntax_trees/tst/interfaces/tst_visitor.php [iso-8859-1]
(original)
+++ trunk/Template/src/syntax_trees/tst/interfaces/tst_visitor.php [iso-8859-1]
Wed Jan 30 16:51:37 2008
@@ -565,7 +565,5 @@
* @return void
*/
public function visitArrayRangeOperatorTstNode(
ezcTemplateArrayRangeOperatorTstNode $node );
-
-
}
?>
Modified: trunk/Template/tests/regression_suite.php
==============================================================================
--- trunk/Template/tests/regression_suite.php [iso-8859-1] (original)
+++ trunk/Template/tests/regression_suite.php [iso-8859-1] Wed Jan 30 16:51:37
2008
@@ -121,7 +121,6 @@
$test->setCurrentFile( $file );
$this->addTest( $test );
}
-
}
?>
--
svn-components mailing list
[EMAIL PROTECTED]
http://lists.ez.no/mailman/listinfo/svn-components