Skip to content

Commit

Permalink
Further fixing of the parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed May 30, 2012
1 parent a43da04 commit ac0108f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/de/uni_koblenz/jgralab/greql2/parser/GreqlParser.java
Expand Up @@ -2375,6 +2375,9 @@ private final List<VertexPosition<TypeId>> parseTypeExpressionList() {
TypeId t = parseTypeId();
int length = getLength(offset);
list.add(new VertexPosition<TypeId>(t, length, offset));
if (lookAhead(0) == TokenTypes.COLON) {
fail("COLON found in TypeId");
}
} while (tryMatch(TokenTypes.COMMA));
return list;
}
Expand Down

0 comments on commit ac0108f

Please sign in to comment.