/* Change the current location to file FNAME, line LNO.  */
void loc_set_file(const char *fname, int lno)
/* Change the current location to file FNAME, line LNO.  */
void loc_set_file(const char *fname, int lno)
{
    assert (fname || cur_loc->kind == LOC_FILE);
    cur_loc->kind = LOC_FILE;
    cur_loc->num = lno;
    if (fname) {
        cur_loc->ptr = fname;
    }
}