summaryrefslogtreecommitdiff
path: root/src/elab_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/elab_print.sml
parent79223408d7b3ce19f0463142461d84a1ad09d785 (diff)
Start of FFI
Diffstat (limited to 'src/elab_print.sml')
-rw-r--r--src/elab_print.sml9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/elab_print.sml b/src/elab_print.sml
index cdbb652d..85271a89 100644
--- a/src/elab_print.sml
+++ b/src/elab_print.sml
@@ -379,6 +379,15 @@ fun p_decl env ((d, _) : decl) =
string "=",
space,
p_str env str]
+ | DFfiStr (x, n, sgn) => box [string "extern",
+ space,
+ string "structure",
+ space,
+ p_named x n,
+ space,
+ string ":",
+ space,
+ p_sgn env sgn]
and p_str env (str, _) =
case str of