aboutsummaryrefslogtreecommitdiff
path: root/cs/reader.cs
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-11-15 20:38:50 -0600
committerJoel Martin <github@martintribe.org>2015-01-09 16:16:46 -0600
commitc3b508af92800f63bf99f41af68f026535f454f5 (patch)
treee94c4f555375189c69cebada164afba80f2579bd /cs/reader.cs
parent95ec2d81d8661e56b7b98a1c19ad503c5083c1e4 (diff)
downloadmal-c3b508af92800f63bf99f41af68f026535f454f5.tar.gz
mal-c3b508af92800f63bf99f41af68f026535f454f5.zip
C#: use closure for RE func. Shorter type names.
Diffstat (limited to 'cs/reader.cs')
-rw-r--r--cs/reader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cs/reader.cs b/cs/reader.cs
index 8ab53da..dbc74af 100644
--- a/cs/reader.cs
+++ b/cs/reader.cs
@@ -61,7 +61,7 @@ namespace Mal {
throw new ParseError("unrecognized token '" + token + "'");
}
if (match.Groups[1].Value != String.Empty) {
- return new Mal.types.MalInteger(int.Parse(match.Groups[1].Value));
+ return new Mal.types.MalInt(int.Parse(match.Groups[1].Value));
} else if (match.Groups[3].Value != String.Empty) {
return Mal.types.Nil;
} else if (match.Groups[4].Value != String.Empty) {