summaryrefslogtreecommitdiff
path: root/src/monoize.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/monoize.sml')
-rw-r--r--src/monoize.sml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/monoize.sml b/src/monoize.sml
index c193e611..1dcef40a 100644
--- a/src/monoize.sml
+++ b/src/monoize.sml
@@ -259,7 +259,7 @@ fun monoExp (env, st) (all as (e, loc)) =
fun input typ =
case targs of
- [(L.CName name, _)] =>
+ [_, (L.CName name, _)] =>
(L'.EStrcat (tagStart "input",
(L'.EPrim (Prim.String (" type=\"" ^ typ ^ "\" name=\"" ^ name ^ "\"/>")),
loc)), loc)
@@ -304,6 +304,7 @@ fun monoExp (env, st) (all as (e, loc)) =
loc)), loc)
| _ => (Print.prefaces "Targs" (map (fn t => ("T", CorePrint.p_con env t)) targs);
raise Fail "No name passed to textarea tag"))
+ | "password" => input "password"
| "ltextarea" =>
(case targs of
[_, (L.CName name, _)] =>