try {
char[] scriptWithEndTag = mainData.toCharArray();
poundSignFilterStream psfstream = new poundSignFilterStream(new CharArrayReader(scriptWithEndTag));
ANTLRNoCaseReaderStream input = new ANTLRNoCaseReaderStream(psfstream); // +
//ANTLRNoCaseReaderStream input = new ANTLRNoCaseReaderStream(new CharArrayReader(scriptWithEndTag)); // +
CFScriptLexer lexer = new CFScriptLexer(input);
tokenStream = new CommonTokenStream(lexer);
CFScriptParser parser = new CFScriptParser(tokenStream);
StdErrReporter errorReporter = new StdErrReporter();
lexer.setErrorReporter(errorReporter);
parser.setErrorReporter(errorReporter);
try {
// "</CFSCRIPT>")
// )
// );