• Artem Shinkarov's avatar
    First adjustment of the C icm generation. · 325721f8
    Artem Shinkarov authored
    The goal is to make C icm expansion more simple and readable.
    
            * Replace fprintf(gobal.outfile with `out` and `indout`
              mainly for aesthetic purposes.  Function `indout` is
              indented out, and is expanded to {INDENT; out (...)}.
    
            * Reorganize ICM templates like COND1, FOR_LOOP, etc
              to avoid statement passing as macro-parameters.  Instead
              every template consists of _BEGIN and _END part, like
              for example:
                    FOR_LOOP_BEGIN ("int SAC_i = 0; SAC_i < 3; SAC_i++")
                            // Do something here
                    FOR_LOOP_END ();
    325721f8