summaryrefslogtreecommitdiff
path: root/Source/Dafny/Dafny.atg
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2015-01-24 11:57:42 +0100
committerGravatar wuestholz <unknown>2015-01-24 11:57:42 +0100
commit6cc009684e95d984e94b440d257acb8d39b84892 (patch)
tree8ee9947f9681716a5ac39f7ff84d477861637f53 /Source/Dafny/Dafny.atg
parent733c87fcb27a43b9fd842a363d74e579ce35c25a (diff)
Minor change to grammar to avoid missing token
Diffstat (limited to 'Source/Dafny/Dafny.atg')
-rw-r--r--Source/Dafny/Dafny.atg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/Dafny.atg b/Source/Dafny/Dafny.atg
index 45018cd3..9dee1cc9 100644
--- a/Source/Dafny/Dafny.atg
+++ b/Source/Dafny/Dafny.atg
@@ -1147,7 +1147,7 @@ TypeAndToken<out IToken tok, out Type ty>
ty = new UserDefinedType(tok, BuiltIns.TupleTypeName(dims), dims == 0 ? null : tupleArgTypes);
}
.)
- | (. Expression e; .)
+ | (. Expression e; tok = t; .)
NameSegmentForTypeName<out e>
{ "." ident (. tok = t; List<Type> typeArgs = null; .)
[ (. typeArgs = new List<Type>(); .)