diff options
| author | Drahflow <drahflow@gmx.de> | 2013-09-30 00:49:00 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-09-30 00:49:00 +0200 |
| commit | 7ff5edb1b36c47bb45082958b870f3b0e05df062 (patch) | |
| tree | 2b4fc0c232eef98c39b064830d8516f092308059 | |
| parent | ca3bb869b1215f3967da1518ce4c30d6df9ad13d (diff) | |
Fixed autolooping code
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | compiler/standardClient.ey | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 |
