summaryrefslogtreecommitdiff
path: root/Source/Dafny/Parser.cs
diff options
context:
space:
mode:
authorGravatar leino <unknown>2014-12-10 05:20:22 -0800
committerGravatar leino <unknown>2014-12-10 05:20:22 -0800
commit62a3e97eb61cbee0d523297ccad1f2d3bcf871c3 (patch)
treea39cbeb674daa39fe6596e48891397e0c7920530 /Source/Dafny/Parser.cs
parent2cb39832d3acc19e48d07efd37758d005785f09d (diff)
Fixed two crashes in resolver
Corrected merge
Diffstat (limited to 'Source/Dafny/Parser.cs')
-rw-r--r--Source/Dafny/Parser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/Parser.cs b/Source/Dafny/Parser.cs
index ed51ff17..43df66c4 100644
--- a/Source/Dafny/Parser.cs
+++ b/Source/Dafny/Parser.cs
@@ -702,7 +702,7 @@ bool IsType(ref IToken pt) {
Get();
Type(out trait);
traits.Add(trait);
- while (la.kind == 9) {
+ while (la.kind == 20) {
Get();
Type(out trait);
traits.Add(trait);