--- trunk/src/compiler/simplify/simple-pp.sml 2010/08/03 20:08:09 220 +++ trunk/src/compiler/simplify/simple-pp.sml 2010/08/03 20:13:55 221 @@ -73,6 +73,14 @@ var f; ppTyArgs (ppStrm, mvs); sp(); ppArgs (ppStrm, args)) | S.E_Cons es => ( ppList ppVar ("[", ",", "]") (ppStrm, es)) + | S.E_Input(argName, NONE) => + string(concat["input(\"", argName, "\")"]) + | S.E_Input(argName, SOME default) => ( + string "inputWithDefault"; string "("; + string (concat["\"", argName, "\""]); string ","; sp(); + var default; string ")") + | S.E_Field fld => ( + string "field"; sp(); string(FieldDef.toString fld)) (* end case *)) in pp e
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: ( + string "field"; sp(); string(FieldDef.toString fld)) (* end case *)) in pp e