Skip to content
Browse files

Further fixing of the parser

  • Loading branch information...
1 parent a43da04 commit ac0108f9439da51427cdfe7d7b140a1151ea6287 Jon committed May 30, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/de/uni_koblenz/jgralab/greql2/parser/GreqlParser.java
View
3 src/de/uni_koblenz/jgralab/greql2/parser/GreqlParser.java
@@ -2375,6 +2375,9 @@ private final Expression parseRangeExpression() {
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;
}

0 comments on commit ac0108f

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