src/Tools/code/code_target.ML
changeset 30963 f44736b9d804
parent 30767 16c689643a7a
child 31013 69a476d6fea6
equal deleted inserted replaced
30962:f5fd07c558f9 30963:f44736b9d804
    66 
    66 
    67 (*FIXME why another code_setmp?*)
    67 (*FIXME why another code_setmp?*)
    68 fun compile f = (code_setmp f Compile; ());
    68 fun compile f = (code_setmp f Compile; ());
    69 fun export f = (code_setmp f Export; ());
    69 fun export f = (code_setmp f Export; ());
    70 fun file p f = (code_setmp f (File p); ());
    70 fun file p f = (code_setmp f (File p); ());
    71 fun string cs f = fst (the (code_setmp f (String cs)));
    71 fun string stmts f = fst (the (code_setmp f (String stmts)));
    72 
    72 
    73 fun stmt_names_of_destination (String stmts) = stmts
    73 fun stmt_names_of_destination (String stmts) = stmts
    74   | stmt_names_of_destination _ = [];
    74   | stmt_names_of_destination _ = [];
    75 
    75 
    76 fun mk_serialization target (SOME comp) _ _ code Compile = (comp code; NONE)
    76 fun mk_serialization target (SOME comp) _ _ code Compile = (comp code; NONE)