Code Duplication    Length = 10-11 lines in 2 locations

webroot/css/anax-grid/lessphp/lessc.inc.php 2 locations

@@ 3083-3092 (lines=10) @@
3080
3081
	// consume a list of tags
3082
	// this accepts a hanging delimiter
3083
	protected function tags(&$tags, $simple = false, $delim = ',') {
3084
		$tags = array();
3085
		while ($this->tag($tt, $simple)) {
3086
			$tags[] = $tt;
3087
			if (!$this->literal($delim)) break;
3088
		}
3089
		if (count($tags) == 0) return false;
3090
3091
		return true;
3092
	}
3093
3094
	// list of tags of specifying mixin path
3095
	// optionally separated by > (lazy, accepts extra >)
@@ 3096-3106 (lines=11) @@
3093
3094
	// list of tags of specifying mixin path
3095
	// optionally separated by > (lazy, accepts extra >)
3096
	protected function mixinTags(&$tags) {
3097
		$tags = array();
3098
		while ($this->tag($tt, true)) {
3099
			$tags[] = $tt;
3100
			$this->literal(">");
3101
		}
3102
3103
		if (count($tags) == 0) return false;
3104
3105
		return true;
3106
	}
3107
3108
	// a bracketed value (contained within in a tag definition)
3109
	protected function tagBracket(&$parts, &$hasExpression) {