protected static DSCComment gotoDSCComment(DSCParser parser, String name)
throws IOException, DSCException {
while (parser.hasNext()) {
DSCEvent event = parser.nextEvent();
if (event.isDSCComment()) {
DSCComment comment = event.asDSCComment();
if (comment.getName().equals(name)) {
return comment;
}
}
}