summaryrefslogtreecommitdiff
path: root/Source/Dafny/Parser.ssc
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2010-06-24 01:13:16 +0000
committerGravatar rustanleino <unknown>2010-06-24 01:13:16 +0000
commitd6d6e64df3130bae7d28eb165ea861e5eb298464 (patch)
tree74585d4942732de9e6ef72693b5e5e859788927a /Source/Dafny/Parser.ssc
parentcf26b0336a404760302bd57eb822fa906105cf1d (diff)
Dafny:
* re-introduced the feature where an input filename of "stdin.dfy" says to read the program from standard input * supplied missing case (NotInSet) in Compiler.ssc
Diffstat (limited to 'Source/Dafny/Parser.ssc')
-rw-r--r--Source/Dafny/Parser.ssc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/Parser.ssc b/Source/Dafny/Parser.ssc
index 0f85bbe8..1ed06227 100644
--- a/Source/Dafny/Parser.ssc
+++ b/Source/Dafny/Parser.ssc
@@ -81,7 +81,7 @@ public static int Parse (string! filename, List<ModuleDecl!>! modules) /* throws
string s;
if (filename == "stdin.dfy") {
s = Microsoft.Boogie.ParserHelper.Fill(System.Console.In, new List<string!>());
- return Parse(s, modules);
+ return Parse(s, filename, modules);
} else {
using (System.IO.StreamReader reader = new System.IO.StreamReader(filename)) {
s = Microsoft.Boogie.ParserHelper.Fill(reader, new List<string!>());