diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-03-10 12:53:33 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-03-10 12:53:33 -0500 |
commit | 46cfc6df38e2e44898e725a58a554e4c53be53a9 (patch) | |
tree | 80047c88c770f642a6d5e73eb5c44ff3cc0828b6 /src | |
parent | 2a42899039b15444e8445300c8562e8934e8876a (diff) |
Change <radio> to yield [option string]
Diffstat (limited to 'src')
-rw-r--r-- | src/cjr_print.sml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml index 29b0f5d2..d11b8f30 100644 --- a/src/cjr_print.sml +++ b/src/cjr_print.sml @@ -1,4 +1,4 @@ -(* Copyright (c) 2008-2011, Adam Chlipala +(* Copyright (c) 2008-2012, Adam Chlipala * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -2868,6 +2868,16 @@ fun p_file env (ds, ps) = string "}}", newline] end + | TOption _ => + box [string "uw_input_", + p_ident x, + space, + string "=", + space, + string "uw_get_input(ctx, ", + string (Int.toString n), + string ");", + newline] | _ => box [string "request = uw_get_", string f, |