summaryrefslogtreecommitdiff
path: root/src/checknest.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-12-10 13:32:09 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-12-10 13:32:09 -0500
commitb04e123d0e1159d431aae00c3e8f1cc4a1b95684 (patch)
tree0f8fb3c5e3f1278843704633e53f27ec20e49b06 /src/checknest.sml
parent14163f6e6e160694eff3d409ca3cf0b8b76c4a3a (diff)
Basis.url and redirects
Diffstat (limited to 'src/checknest.sml')
-rw-r--r--src/checknest.sml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checknest.sml b/src/checknest.sml
index 27a1796c..49519705 100644
--- a/src/checknest.sml
+++ b/src/checknest.sml
@@ -57,6 +57,7 @@ fun expUses globals =
| EError (e, _) => eu e
| EReturnBlob {blob, mimeType, ...} => IS.union (eu blob, eu mimeType)
+ | ERedirect (e, _) => eu e
| EWrite e => eu e
| ESeq (e1, e2) => IS.union (eu e1, eu e2)
@@ -117,6 +118,7 @@ fun annotateExp globals =
| EError (e, t) => (EError (ae e, t), loc)
| EReturnBlob {blob, mimeType, t} => (EReturnBlob {blob = ae blob, mimeType = ae mimeType, t = t}, loc)
+ | ERedirect (e, t) => (ERedirect (ae e, t), loc)
| EWrite e => (EWrite (ae e), loc)
| ESeq (e1, e2) => (ESeq (ae e1, ae e2), loc)