Files
mercury/tests/hard_coded/opt_format.exp
Zoltan Somogyi bb8d69e723 Specialize calls to stream.string_writer.format.
compiler/format_call.m:
    As above.

    Factor out some common code.

compiler/module_imports.m:
    Fix a cut-and-paste bug.

library/builtin_modules.m:
    Add a way to retrieve the name of the stream module, since the compiler
    can now generate calls to stream.put.

tests/hard_codes/opt_format.{m,exp}:
    Expand this test case to include tests of calls to
    stream.string_writer.format.

    Make the existing tests a bit tougher as well.
2014-12-01 04:20:15 +11:00

15 lines
354 B
Plaintext

abc_42_def_%x_ghi_HAL_jkl\
cba_y_def_%143_ghi_IBM _jkl\
cba_JCN_fed_%z_ghi_241_jkl\
abc_0343_def_%v_ghi_KDO_jkl\
abc_42_def_%a_ghi_WHAL_jkl\
cba_b_def_%143_ghi_WIBM_jkl\
cba_WJCN_fed_%c_ghi_241_jkl\
abc_ 343_def_%d_ghi_ WKDO_jkl\
abc_42_def_%e_ghi_XHAL_jkl\
cba_f_def_%143_ghi_XIBM_jkl\
cba_XJCN_fed_%g_ghi_241_jkl\
abc_ 343_def_%h_ghi_ XKDO_jkl\