//Listener for the language level
parser.addListener(new DSCListener() {
public void processEvent(DSCEvent event, DSCParser parser)
throws IOException, DSCException {
if (event instanceof DSCCommentLanguageLevel) {
DSCCommentLanguageLevel level = (DSCCommentLanguageLevel)event;
results.put("level", new Integer(level.getLanguageLevel()));
}
}
});
int count = 0;
while (parser.hasNext()) {