Mercurial > urweb
diff src/source_print.sml @ 1732:4a03aa3251cb
Initial support for reusing elaboration results
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 29 Apr 2012 13:17:31 -0400 |
parents | b4480a56cab7 |
children | bb942416bf1c |
line wrap: on
line diff
--- a/src/source_print.sml Sat Apr 28 12:00:35 2012 -0400 +++ b/src/source_print.sml Sun Apr 29 13:17:31 2012 -0400 @@ -569,33 +569,33 @@ string "=", space, p_sgn sgn] - | DStr (x, NONE, str) => box [string "structure", + | DStr (x, NONE, _, str) => box [string "structure", + space, + string x, + space, + string "=", + space, + p_str str] + | DStr (x, SOME sgn, _, str) => box [string "structure", + space, + string x, + space, + string ":", + space, + p_sgn sgn, + space, + string "=", + space, + p_str str] + | DFfiStr (x, sgn, _) => box [string "extern", + space, + string "structure", space, string x, space, - string "=", + string ":", space, - p_str str] - | DStr (x, SOME sgn, str) => box [string "structure", - space, - string x, - space, - string ":", - space, - p_sgn sgn, - space, - string "=", - space, - p_str str] - | DFfiStr (x, sgn) => box [string "extern", - space, - string "structure", - space, - string x, - space, - string ":", - space, - p_sgn sgn] + p_sgn sgn] | DOpen (m, ms) => box [string "open", space, p_list_sep (string ".") string (m :: ms)]