aboutsummaryrefslogtreecommitdiff
path: root/cs
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-28 10:35:04 -0600
committerJoel Martin <github@martintribe.org>2015-02-28 10:35:04 -0600
commit2ab1e5845c213a9951bee46a0c991202e6c46d5c (patch)
treeac1e5d898523bb892181804aa64f22ec4f4b9032 /cs
parent1218ce98a40ef243824fed0efce7160a10fe5f36 (diff)
downloadmal-2ab1e5845c213a9951bee46a0c991202e6c46d5c.tar.gz
mal-2ab1e5845c213a9951bee46a0c991202e6c46d5c.zip
Multiple: interop enhancements.
Diffstat (limited to 'cs')
-rw-r--r--cs/stepA_interop.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cs/stepA_interop.cs b/cs/stepA_interop.cs
index 2e8fc12..6531d50 100644
--- a/cs/stepA_interop.cs
+++ b/cs/stepA_interop.cs
@@ -231,10 +231,10 @@ namespace Mal {
}
repl_env.set(new MalSymbol("eval"), new MalFunc(
a => EVAL(a[0], repl_env)));
- int fileIdx = 1;
+ int fileIdx = 0;
if (args.Length > 0 && args[0] == "--raw") {
Mal.readline.mode = Mal.readline.Mode.Raw;
- fileIdx = 2;
+ fileIdx = 1;
}
MalList _argv = new MalList();
for (int i=fileIdx; i < args.Length; i++) {