diff options
author | Rustan Leino <leino@microsoft.com> | 2012-01-04 15:08:06 -0800 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2012-01-04 15:08:06 -0800 |
commit | 5677e04d7ff65162c5d8ea4edd1cea9553522836 (patch) | |
tree | 7b876d9be1e631b98271e50314036cf8d56dd50e /Util/VS2010 | |
parent | 156cfbcc3f013a2d97a667ef4815d30a75af51ff (diff) |
Dafny: Start of new refinement features -- clean out old ones
Diffstat (limited to 'Util/VS2010')
-rw-r--r-- | Util/VS2010/Dafny/DafnyLanguageService/Grammar.cs | 4 | ||||
-rw-r--r-- | Util/VS2010/DafnyExtension/DafnyExtension/TokenTagger.cs | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/Util/VS2010/Dafny/DafnyLanguageService/Grammar.cs b/Util/VS2010/Dafny/DafnyLanguageService/Grammar.cs index f2924420..e35383b0 100644 --- a/Util/VS2010/Dafny/DafnyLanguageService/Grammar.cs +++ b/Util/VS2010/Dafny/DafnyLanguageService/Grammar.cs @@ -18,7 +18,7 @@ namespace Demo this.MarkReservedWords( // NOTE: these keywords must also appear once more below
"class", "ghost", "static", "var", "method", "constructor", "datatype", "type",
- "assert", "assume", "new", "this", "object", "refines", "replaces", "by",
+ "assert", "assume", "new", "this", "object", "refines",
"unlimited", "module", "imports",
"if", "then", "else", "while", "invariant",
"break", "label", "return", "parallel", "havoc", "print",
@@ -274,8 +274,6 @@ namespace Demo | "this"
| "object"
| "refines"
- | "replaces"
- | "by"
| "unlimited"
| "module"
| "imports"
diff --git a/Util/VS2010/DafnyExtension/DafnyExtension/TokenTagger.cs b/Util/VS2010/DafnyExtension/DafnyExtension/TokenTagger.cs index 23c71d45..78c5f8d9 100644 --- a/Util/VS2010/DafnyExtension/DafnyExtension/TokenTagger.cs +++ b/Util/VS2010/DafnyExtension/DafnyExtension/TokenTagger.cs @@ -239,7 +239,6 @@ namespace DafnyLanguage case "assume":
case "bool":
case "break":
- case "by":
case "case":
case "choose":
case "class":
@@ -276,7 +275,6 @@ namespace DafnyLanguage case "print":
case "reads":
case "refines":
- case "replaces":
case "requires":
case "result":
case "return":
|