(no message)

This commit is contained in:
Eugene Vigdorchik
2005-01-19 13:27:07 +03:00
parent 005fd4d6f9
commit dafc808f38
@@ -77,9 +77,11 @@ public class DeclarationParsing extends Parsing {
if (context == FILE_CONTEXT) return null;
}
else if (tokenType == JSP_HOLDER_TOKEN) {
LeafElement element = Factory.createLeafElement(HOLDER_TEMPLATE_DATA, lexer.getBuffer(), lexer.getTokenStart(), lexer.getTokenEnd(), lexer.getState(), myContext.getCharTable());
final CompositeElement declaration = Factory.createCompositeElement(JSP_TEMPLATE_DECLARATION);
LeafElement leaf = Factory.createLeafElement(HOLDER_TEMPLATE_DATA, lexer.getBuffer(), lexer.getTokenStart(), lexer.getTokenEnd(), lexer.getState(), myContext.getCharTable());
TreeUtil.addChildren(declaration, leaf);
lexer.advance();
return element;
return declaration;
}
else if (!MODIFIER_BIT_SET.isInSet(tokenType) && !CLASS_KEYWORD_BIT_SET.isInSet(tokenType)
&& tokenType != AT && (context == CODE_BLOCK_CONTEXT || tokenType != LT)){