/* Save the current location in LOC, return LOC.  */
Location* loc_save(Location *loc)
/* Save the current location in LOC, return LOC.  */
Location* loc_save(Location *loc)
{
    *loc = *cur_loc;
    loc->prev = NULL;
    return loc;
}