finderrors.c
changeset 507 0dd7a913f498
parent 503 ec8e7739cf5d
child 509 88c18d64e95b
equal deleted inserted replaced
506:c1fe96a851f6 507:0dd7a913f498
    84         const MOJOSHADER_parseData *a;
    84         const MOJOSHADER_parseData *a;
    85 
    85 
    86         a = MOJOSHADER_assemble((char *) buf, 0, 0, 0);
    86         a = MOJOSHADER_assemble((char *) buf, 0, 0, 0);
    87         if (a->error)
    87         if (a->error)
    88         {
    88         {
    89             report("FAIL: %s %s\n", fname, a->error);
    89             report("FAIL: %s (line %d) %s\n", fname, a->error_position, a->error);
    90             return 1;
    90             return 1;
    91         } // if
    91         } // if
    92 
    92 
    93         else if (a->output_len > sizeof (buf))
    93         else if (a->output_len > sizeof (buf))
    94         {
    94         {