}
}
}
private static Expression parseIntermediateFunctionCall(ParsingTools stream, String sFunctionName) throws IOException {
FunctionCallExpression expr = new FunctionCallExpression(sFunctionName);
stream.ignoreBlanks();
if (!stream.isEqualTo(')')) {
Expression param = parseExpression(stream);
expr.addParameter(param);
stream.ignoreBlanks();
while (stream.isEqualTo(',')) {
param = parseExpression(stream);
expr.addParameter(param);
stream.ignoreBlanks();
}
if (!stream.isEqualTo(')')) {
throw new ParsingException(stream, stream.syntaxError("')' expected"));
}