| 
                                
                                    @@ 821-823 (lines=3) @@
                                 | 
                            
                                                            
                                    | 818 | 
                                     | 
                                                    }  | 
                                
                                                            
                                    | 819 | 
                                     | 
                                     | 
                                
                                                            
                                    | 820 | 
                                     | 
                                                    // check that there is an end tag present  | 
                                
                                                            
                                    | 821 | 
                                     | 
                                                    if (strpos($tpl, $this->rd, $pos) === false) { | 
                                
                                                            
                                    | 822 | 
                                     | 
                                                        throw new CompilationException($this, 'A template tag was not closed, started with "' . substr($tpl, $ptr, 30) . '"');  | 
                                
                                                            
                                    | 823 | 
                                     | 
                                                    }  | 
                                
                                                            
                                    | 824 | 
                                     | 
                                     | 
                                
                                                            
                                    | 825 | 
                                     | 
                                                    $ptr += strlen($this->ld);  | 
                                
                                                            
                                    | 826 | 
                                     | 
                                                    $subptr = $ptr;  | 
                                
                                                                                
                                 | 
                                
                                    @@ 1449-1454 (lines=6) @@
                                 | 
                            
                                                            
                                    | 1446 | 
                                     | 
                                                            }  | 
                                
                                                            
                                    | 1447 | 
                                     | 
                                                        }  | 
                                
                                                            
                                    | 1448 | 
                                     | 
                                                        $endpos = $ptr - strlen('*' . $this->rd); | 
                                
                                                            
                                    | 1449 | 
                                     | 
                                                    } else { | 
                                
                                                            
                                    | 1450 | 
                                     | 
                                                        $endpos = strpos($src, '*' . $this->rd, $startpos);  | 
                                
                                                            
                                    | 1451 | 
                                     | 
                                                        if ($endpos == false) { | 
                                
                                                            
                                    | 1452 | 
                                     | 
                                                            throw new CompilationException($this, 'Un-ended comment');  | 
                                
                                                            
                                    | 1453 | 
                                     | 
                                                        }  | 
                                
                                                            
                                    | 1454 | 
                                     | 
                                                    }  | 
                                
                                                            
                                    | 1455 | 
                                     | 
                                                    $pointer += $endpos - $startpos + strlen('*' . $this->rd); | 
                                
                                                            
                                    | 1456 | 
                                     | 
                                                    if (isset($whitespaceStart) && preg_match('#^[\t ]*\r?\n#', substr($src, $endpos + strlen('*' . $this->rd)), $m)) { | 
                                
                                                            
                                    | 1457 | 
                                     | 
                                                        $pointer += strlen($m[0]);  |