Skip to content
Browse files

not more compiler errors

  • Loading branch information...
1 parent a485d79 commit cca73984f7b5171896f71e540ad412d2fd37738b @patrickdet patrickdet committed May 2, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 haw/ci/lib/Parser.java
View
5 haw/ci/lib/Parser.java
@@ -150,7 +150,9 @@ private void IfStatement() {
}
//WhileStatement = ÕWHILEÕ Expression ÕDOÕ StatementSequence ÕENDÕ.
private AbstractNode WhileStatement() {
- AbstractNode node, expression, statementSequence;
+ AbstractNode node, expression;
+ StatementSequenceNode statementSequence;
+ node = null;
if (accept(WHILE)) {
expression = Expression();
if (accept(DO)) {
@@ -216,6 +218,7 @@ private AbstractNode Factor() {
accept(BRACE_ROUND_CLOSE);
break;
}
+ return null;
}
//Read = READ [Prompt].
private void Read() {

0 comments on commit cca7398

Please sign in to comment.
Something went wrong with that request. Please try again.