Author: Jan Borsodi
Date: 2006-12-14 15:11:58 +0100 (Thu, 14 Dec 2006)
New Revision: 4288

Log:
- Removed unused code.

Modified:
   
trunk/Template/src/parsers/source_to_tst/implementations/control_structure.php

Modified: 
trunk/Template/src/parsers/source_to_tst/implementations/control_structure.php
===================================================================
--- 
trunk/Template/src/parsers/source_to_tst/implementations/control_structure.php  
    2006-12-14 14:11:04 UTC (rev 4287)
+++ 
trunk/Template/src/parsers/source_to_tst/implementations/control_structure.php  
    2006-12-14 14:11:58 UTC (rev 4288)
@@ -94,8 +94,6 @@
         $csMap['once'] = 'Once';
         $csMap['def'] = 'Def';
 
-//        $invalidCloseBlocks = array( 'elseif', 'else', 'include', 'return', 
'embed', 'break', 'continue', 'skip', 'increment', 'decrement', 'reset', 
'once', 'def' );
-//
         // tmp
         if ( !isset( $csMap[$name] ) )
         {
@@ -110,15 +108,6 @@
             return false;
         }
 
-/*        // Check for closing blocks of elements which does not allow it
-        if ( $this->block->isClosingBlock &&
-             in_array( $name, $invalidCloseBlocks ) )
-        {
-            throw new ezcTemplateParserException( $this->parser->source,
-                                                  $this->block->closingCursor, 
$this->block->closingCursor,
-                                                  sprintf( 
ezcTemplateSourceToTstErrorMessages::MSG_CLOSING_BLOCK_NOW_ALLOWED, $name ) );
-        }*/
-
         // @todo Fix exception class
         if ( !class_exists( $parser ) )
         {

-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to