summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-03-20 13:15:11 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-03-20 13:15:11 -0400
commitb254652a5b8363ada13a12f97c99614a4f9c2b44 (patch)
treec3caa153c1a6ee83a7deb3e7f4212562f498d460 /src
parent287dc45a51d5a92401d8ee3ad038086b15572037 (diff)
Fix C compilation of empty records; use DESTDIR in 'make install/uninstall'
Diffstat (limited to 'src')
-rw-r--r--src/cjr_print.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml
index a41ba0d2..d6c0db98 100644
--- a/src/cjr_print.sml
+++ b/src/cjr_print.sml
@@ -249,6 +249,7 @@ fun p_patMatch (env, disc) (p, loc) =
p]
end
+ | PRecord [] => string "1"
| PRecord xps =>
p_list_sep (box [space, string "&&", space]) (fn (x, p, _) => p_patMatch (env, disc ^ ".__uwf_" ^ ident x) p) xps