<BUG>if (elem.isReferenceElement()&& (firstMatchToken + elem.getMatch().getTokenRef() < tokens.length)) {elem.compile(tokens[firstMatchToken+ elem.getMatch().getTokenRef()], language.getSynthesizer());</BUG><CONTEXT>if (prevSkipNext > 0 && prevElement != null&& prevElement.isMatchedByScopeNextException(matchToken)) {exceptionMatched = true;prevMatched = true;}<extra_id_0>}</CONTEXT>
if (elem.isReferenceElement()) {setupRef(firstMatchToken, elem, tokens);