diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-19 14:40:29 -0700 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-19 14:40:29 -0700 |
commit | df71ecbc931f67bb24ddbd2abb5c4e8f061fc688 (patch) | |
tree | 0bf5985ddb931e10af5d85e475e9134ef5a82c52 /Source/Dafny/Parser.cs | |
parent | fcf9093f269b924555780e60fe05e4eff9de1cf4 (diff) | |
parent | 747e2d218f49683605d52f70dbb372f37d9f304b (diff) |
Merge.
Changes that were needed included preventing the InductionRewriter from
iterating on a SplitQuantifier and using the new error reporting engine.
Diffstat (limited to 'Source/Dafny/Parser.cs')
-rw-r--r-- | Source/Dafny/Parser.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Dafny/Parser.cs b/Source/Dafny/Parser.cs index 2507cacc..7dafb572 100644 --- a/Source/Dafny/Parser.cs +++ b/Source/Dafny/Parser.cs @@ -1033,13 +1033,13 @@ bool IsType(ref IToken pt) { }
void Attribute(ref Attributes attrs) {
- string name;
+ IToken x; string name;
var args = new List<Expression>();
Expect(45);
Expect(21);
- Expect(1);
- name = t.val;
+ NoUSIdent(out x);
+ name = x.val;
if (StartOf(7)) {
Expressions(args);
}
|