// startToken for various AST subtrees, so we can't just delete
// it. We therefore find the DIC token and change its type to
// match the regexp vocabulary, and then rewind the token stream
// so that this will be the first token that the
// SinpleRegexpParser will see.
LinkedListToken startMarker = (LinkedListToken)stream.LT(-1);
startMarker.setType(RegexSimpleParser.REGEXP_DELIMITER);
stream.seek(stream.index()-1);
RegexSimpleParser parser = new RegexSimpleParser(stream);
parser.setTreeAdaptor(new LinkedListTreeAdaptor());
parser.setInput(lexer, cs);