]> git.mdlowis.com Git - archive/dlang.git/commitdiff
Implemented hash map syntax
authorMike D. Lowis <mike@mdlowis.com>
Tue, 6 Mar 2012 01:51:37 +0000 (20:51 -0500)
committerMike D. Lowis <mike@mdlowis.com>
Tue, 6 Mar 2012 01:51:37 +0000 (20:51 -0500)
example.dl

index c3a4a7248d9a9fdea2b85ddab22f345b683c77ed..3661b74669337d9a38f134de60b25f155b014e4e 100644 (file)
@@ -41,11 +41,11 @@ foo = "12345"[2]
 foo = $some_symbol
 
 # MAP
-foo = {
-    $foo : 1 + 1,
-    $bar : 2 + 2,
-    $stuff : 3 + 3
-}
+#foo = {
+#    $foo : 1 + 1,
+#    $bar : 2 + 2,
+#    $stuff : 3 + 3
+#}
 
 #% if [
 #    (Ex Bk) : exec_if($1, $2),