]> gitweb.factorcode.org Git - factor.git/commitdiff
trick math.vectors.simd into making nicer quotations
authorJoe Groff <arcata@gmail.com>
Thu, 26 Nov 2009 04:24:09 +0000 (20:24 -0800)
committerJoe Groff <arcata@gmail.com>
Thu, 26 Nov 2009 04:24:09 +0000 (20:24 -0800)
basis/math/vectors/simd/simd.factor

index e89edd3de35e3191a50c87f988ae69e5ea97df10..7213286e15217d7faa7792ef3e3fab5fabd692eb 100644 (file)
@@ -234,8 +234,8 @@ SYNTAX: A{ \ } [ >A ] parse-literal ;
 c:<c-type>
     byte-array >>class
     A >>boxed-class
-    [ A-rep alien-vector A boa ] >>getter
-    [ [ underlying>> ] 2dip A-rep set-alien-vector ] >>setter
+    { A-rep alien-vector A boa } >quotation >>getter
+    { [ underlying>> ] 2dip A-rep set-alien-vector } >quotation >>setter
     16 >>size
     16 >>align
     A-rep >>rep