Whitespace police

This commit is contained in:
TomyLobo 2011-11-24 21:07:14 +01:00
parent 5ec6276674
commit 77bd86a203

View File

@ -167,8 +167,7 @@ public class Parser {
final RValue body = parseStatements(true); final RValue body = parseStatements(true);
statements.add(new For(current.getPosition(), init, condition, increment, body)); statements.add(new For(current.getPosition(), init, condition, increment, body));
} } else {
else {
position = oldPosition; position = oldPosition;
final Token variableToken = peek(); final Token variableToken = peek();
@ -377,7 +376,7 @@ public class Parser {
return Functions.getFunction(identifierToken.getPosition(), identifierToken.value, args.toArray(new RValue[args.size()])); return Functions.getFunction(identifierToken.getPosition(), identifierToken.value, args.toArray(new RValue[args.size()]));
} catch (NoSuchMethodException e) { } catch (NoSuchMethodException e) {
throw new ParserException(identifierToken.getPosition(), "Function '"+identifierToken.value+"' not found", e); throw new ParserException(identifierToken.getPosition(), "Function '" + identifierToken.value + "' not found", e);
} }
} }