summaryrefslogtreecommitdiff
path: root/src/explify.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-14 13:20:29 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-14 13:20:29 -0400
commit25658a4755c86ffbda946fb8b97f882f3ce7a724 (patch)
tree4ef4c28ab7483566127b841e2396bcc05d98e23d /src/explify.sml
parent4a22e79410139a25a9615275c3b9adcd165a5988 (diff)
Parsing and elaborating 'table'
Diffstat (limited to 'src/explify.sml')
-rw-r--r--src/explify.sml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/explify.sml b/src/explify.sml
index 9fe24ebe..f33d2b64 100644
--- a/src/explify.sml
+++ b/src/explify.sml
@@ -123,6 +123,7 @@ fun explifySgi (sgi, loc) =
| L.SgiStr (x, n, sgn) => SOME (L'.SgiStr (x, n, explifySgn sgn), loc)
| L.SgiSgn (x, n, sgn) => SOME (L'.SgiSgn (x, n, explifySgn sgn), loc)
| L.SgiConstraint _ => NONE
+ | L.SgiTable _ => raise Fail "Explify SgiTable"
and explifySgn (sgn, loc) =
case sgn of
@@ -151,6 +152,7 @@ fun explifyDecl (d, loc : EM.span) =
| L.DFfiStr (x, n, sgn) => SOME (L'.DFfiStr (x, n, explifySgn sgn), loc)
| L.DConstraint (c1, c2) => NONE
| L.DExport (en, sgn, str) => SOME (L'.DExport (en, explifySgn sgn, explifyStr str), loc)
+ | L.DTable _ => raise Fail "Explify DTable"
and explifyStr (str, loc) =
case str of