aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-09-30 00:49:00 +0200
committerDrahflow <drahflow@gmx.de>2013-09-30 00:49:00 +0200
commit7ff5edb1b36c47bb45082958b870f3b0e05df062 (patch)
tree2b4fc0c232eef98c39b064830d8516f092308059
parentca3bb869b1215f3967da1518ce4c30d6df9ad13d (diff)
Fixed autolooping code
-rw-r--r--README.md5
-rw-r--r--compiler/standardClient.ey2
2 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7ade123..4e75c97 100644
--- a/README.md
+++ b/README.md
@@ -28,10 +28,15 @@ A programming language...
... did I mention array support ...
2 [ 1 2 ] add dump
+ [ 0 1 ] [ 1 2 ] add dump
# [
# 0000000000000003
# 0000000000000004
# ]
+ # [
+ # 0000000000000001
+ # 0000000000000003
+ # ]
... user definable functions ...
diff --git a/compiler/standardClient.ey b/compiler/standardClient.ey
index acebf25..30b7be2 100644
--- a/compiler/standardClient.ey
+++ b/compiler/standardClient.ey
@@ -542,7 +542,7 @@
{ ==earlierType ==laterType
[
- earlierType laterType typeEqual
+ { earlierType laterType typeEqual }
{ earlierType 1 }
# TODO: maybe handle structs here one day (or move the whole affair into