]> gitweb.factorcode.org Git - factor.git/commitdiff
misc: add quot & enum tests to syntax-tests
authorrazetime <raghuallthetime@hotmail.com>
Mon, 12 Dec 2022 09:42:24 +0000 (15:12 +0530)
committerrazetime <raghuallthetime@hotmail.com>
Mon, 12 Dec 2022 10:05:04 +0000 (15:35 +0530)
misc/syntax-test.factor

index 6c4ef2e58a4bd780fd26762eed3838b88300f4f6..9787e4475fcc825bf414bb786fc455a0e4ad626a 100644 (file)
@@ -154,7 +154,7 @@ PRIVATE>
     LIBRARY: name
     TYPEDEF: old new
     ENUM: type words... ;
-    ENUM: type < base-type words...
+    ENUM: type < base-type words... ;
     FUNCTION: return name ( parameters ) ;
     FUNCTION-ALIAS: factor-name return name ( parameters ) ;
 
@@ -195,6 +195,7 @@ PRIVATE>
     5 f <array>
     (clone)
 
+    [| a b | ]
     [let [let { } ] ]
 
 ! Strings