if (tok.getString() == "," && depth == 0) { | if (tok.getString() == "," && depth == 0) { | ||||
break; | break; | ||||
} | } | ||||
if (tok == IToken.EOF) { | |||||
throw new ParserException("eof", tokenSource.peek()); | |||||
} | |||||
// keep track of nested brackets | // keep track of nested brackets | ||||
if (tok.getString() == "(") { | if (tok.getString() == "(") { |