summaryrefslogtreecommitdiff
path: root/src/source_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 09:27:29 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 09:27:29 -0400
commita78e978c05d7d28f31f4407b6918d89d44a5643c (patch)
tree29f8a7dd372a3fd5fa14b1960e5b3917c6aa1e50 /src/source_print.sml
parent79223408d7b3ce19f0463142461d84a1ad09d785 (diff)
Start of FFI
Diffstat (limited to 'src/source_print.sml')
-rw-r--r--src/source_print.sml9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/source_print.sml b/src/source_print.sml
index 1522e6da..1ea2b837 100644
--- a/src/source_print.sml
+++ b/src/source_print.sml
@@ -335,6 +335,15 @@ fun p_decl ((d, _) : decl) =
string "=",
space,
p_str str]
+ | DFfiStr (x, sgn) => box [string "extern",
+ space,
+ string "structure",
+ space,
+ string x,
+ space,
+ string ":",
+ space,
+ p_sgn sgn]
and p_str (str, _) =
case str of