]> gitweb.factorcode.org Git - factor.git/commitdiff
alien.inline.syntax: changed RAW-C: to <RAW-C
authorJeremy Hughes <jedahu@gmail.com>
Fri, 24 Jul 2009 03:33:45 +0000 (15:33 +1200)
committerJeremy Hughes <jedahu@gmail.com>
Fri, 24 Jul 2009 03:43:44 +0000 (15:43 +1200)
extra/alien/inline/syntax/syntax-docs.factor
extra/alien/inline/syntax/syntax.factor

index 0fc5a5140b58b902b23f9105816f0fe14d0cf0b2..844cb1d38f1b0095261e7b9a78991676d22dcb56 100644 (file)
@@ -95,6 +95,6 @@ HELP: DELETE-C-LIBRARY:
 }
 { $see-also POSTPONE: delete-inline-library } ;
 
-HELP: RAW-C:
-{ $syntax "RAW-C:" "body" ";" }
-{ $description "Insert a string into the generated source file. Useful for macros and other details not implemented in " { $snippet "alien.inline" } "." } ;
+HELP: <RAW-C
+{ $syntax "<RAW-C code RAW-C>" }
+{ $description "Insert a (multiline) string into the generated source file. Useful for macros and other details not implemented in " { $snippet "alien.inline" } "." } ;
index 6cef56f9b28f71819fd3ac067327baf337404290..ce18616bc392bf17d7577ce65ffac9e33e55047e 100644 (file)
@@ -28,4 +28,4 @@ SYNTAX: ;C-LIBRARY compile-c-library ;
 
 SYNTAX: DELETE-C-LIBRARY: scan delete-inline-library ;
 
-SYNTAX: RAW-C: parse-here raw-c ;
+SYNTAX: <RAW-C "RAW-C>" parse-multiline-string raw-c ;