testoutput.c
changeset 577 bec531dd448e
parent 536 5af65fe6e917
equal deleted inserted replaced
576:d7ec39b7abab 577:bec531dd448e
    20     if (pd->error_count > 0)
    20     if (pd->error_count > 0)
    21     {
    21     {
    22         int i;
    22         int i;
    23         for (i = 0; i < pd->error_count; i++)
    23         for (i = 0; i < pd->error_count; i++)
    24         {
    24         {
    25             printf("ERROR: (line %d) %s\n",
    25             printf("%s:%d: ERROR: %s\n",
       
    26                     pd->errors[i].filename ? pd->errors[i].filename : "???",
    26                     pd->errors[i].error_position,
    27                     pd->errors[i].error_position,
    27                     pd->errors[i].error);
    28                     pd->errors[i].error);
    28         } // for
    29         } // for
    29     } // if
    30     } // if
    30     else
    31     else