Code Duplication    Length = 40-40 lines in 2 locations

view/SSTemplateParser.php 2 locations

@@ 2360-2399 (lines=40) @@
2357
			if (( $subres = $this->literal( 'end_' ) ) !== FALSE) { $result["text"] .= $subres; }
2358
			else { $_384 = FALSE; break; }
2359
			$_380 = NULL;
2360
			do {
2361
				$_378 = NULL;
2362
				do {
2363
					$res_371 = $result;
2364
					$pos_371 = $this->pos;
2365
					if (( $subres = $this->literal( 'uncached' ) ) !== FALSE) {
2366
						$result["text"] .= $subres;
2367
						$_378 = TRUE; break;
2368
					}
2369
					$result = $res_371;
2370
					$this->pos = $pos_371;
2371
					$_376 = NULL;
2372
					do {
2373
						$res_373 = $result;
2374
						$pos_373 = $this->pos;
2375
						if (( $subres = $this->literal( 'cached' ) ) !== FALSE) {
2376
							$result["text"] .= $subres;
2377
							$_376 = TRUE; break;
2378
						}
2379
						$result = $res_373;
2380
						$this->pos = $pos_373;
2381
						if (( $subres = $this->literal( 'cacheblock' ) ) !== FALSE) {
2382
							$result["text"] .= $subres;
2383
							$_376 = TRUE; break;
2384
						}
2385
						$result = $res_373;
2386
						$this->pos = $pos_373;
2387
						$_376 = FALSE; break;
2388
					}
2389
					while(0);
2390
					if( $_376 === TRUE ) { $_378 = TRUE; break; }
2391
					$result = $res_371;
2392
					$this->pos = $pos_371;
2393
					$_378 = FALSE; break;
2394
				}
2395
				while(0);
2396
				if( $_378 === FALSE) { $_380 = FALSE; break; }
2397
				$_380 = TRUE; break;
2398
			}
2399
			while(0);
2400
			if( $_380 === FALSE) { $_384 = FALSE; break; }
2401
			if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
2402
			if (( $subres = $this->literal( '%>' ) ) !== FALSE) { $result["text"] .= $subres; }
@@ 2865-2904 (lines=40) @@
2862
			if (( $subres = $this->literal( 'end_' ) ) !== FALSE) { $result["text"] .= $subres; }
2863
			else { $_491 = FALSE; break; }
2864
			$_487 = NULL;
2865
			do {
2866
				$_485 = NULL;
2867
				do {
2868
					$res_478 = $result;
2869
					$pos_478 = $this->pos;
2870
					if (( $subres = $this->literal( 'cached' ) ) !== FALSE) {
2871
						$result["text"] .= $subres;
2872
						$_485 = TRUE; break;
2873
					}
2874
					$result = $res_478;
2875
					$this->pos = $pos_478;
2876
					$_483 = NULL;
2877
					do {
2878
						$res_480 = $result;
2879
						$pos_480 = $this->pos;
2880
						if (( $subres = $this->literal( 'uncached' ) ) !== FALSE) {
2881
							$result["text"] .= $subres;
2882
							$_483 = TRUE; break;
2883
						}
2884
						$result = $res_480;
2885
						$this->pos = $pos_480;
2886
						if (( $subres = $this->literal( 'cacheblock' ) ) !== FALSE) {
2887
							$result["text"] .= $subres;
2888
							$_483 = TRUE; break;
2889
						}
2890
						$result = $res_480;
2891
						$this->pos = $pos_480;
2892
						$_483 = FALSE; break;
2893
					}
2894
					while(0);
2895
					if( $_483 === TRUE ) { $_485 = TRUE; break; }
2896
					$result = $res_478;
2897
					$this->pos = $pos_478;
2898
					$_485 = FALSE; break;
2899
				}
2900
				while(0);
2901
				if( $_485 === FALSE) { $_487 = FALSE; break; }
2902
				$_487 = TRUE; break;
2903
			}
2904
			while(0);
2905
			if( $_487 === FALSE) { $_491 = FALSE; break; }
2906
			if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
2907
			if (( $subres = $this->literal( '%>' ) ) !== FALSE) { $result["text"] .= $subres; }