comparison src/expl_print.sml @ 1075:0657e5adc938

Convert to task syntax
author Adam Chlipala <adamc@hcoop.net>
date Tue, 15 Dec 2009 10:19:05 -0500
parents b2311dfb3158
children c316ca3c9ec6
comparison
equal deleted inserted replaced
1074:d89f98f0b4bb 1075:0657e5adc938
711 space, 711 space,
712 p_con env c] 712 p_con env c]
713 | DStyle (_, x, n) => box [string "style", 713 | DStyle (_, x, n) => box [string "style",
714 space, 714 space,
715 p_named x n] 715 p_named x n]
716 | DInitializer e => box [string "initializer", 716 | DTask (e1, e2) => box [string "task",
717 space, 717 space,
718 p_exp env e] 718 p_exp env e1,
719 space,
720 string "=",
721 space,
722 p_exp env e2]
719 723
720 and p_str env (str, _) = 724 and p_str env (str, _) =
721 case str of 725 case str of
722 StrConst ds => box [string "struct", 726 StrConst ds => box [string "struct",
723 newline, 727 newline,