~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to eval.c

  • Committer: Arnold D. Robbins
  • Date: 2022-02-27 18:39:54 UTC
  • mto: (1678.1.1) (1712.1.1) (1720.1.3)
  • mto: This revision was merged to the branch mainline in revision 1676.
  • Revision ID: git-v1:fc1410099d6ccbb72adb54ecffd0711348706ca4
Have cant_happen() give more information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1172
1172
                break;
1173
1173
 
1174
1174
        default:
1175
 
                cant_happen();
 
1175
                cant_happen("unexpected variable type %s", nodetype2str(n->type));
1176
1176
        }
1177
1177
 
1178
1178
        if (do_lint && reference && var_uninitialized(n))
1346
1346
                        break;
1347
1347
 
1348
1348
                default:
1349
 
                        cant_happen();
 
1349
                        cant_happen("unexpected parameter type %s", nodetype2str(m->type));
1350
1350
                }
1351
1351
                r->vname = fp[i].param;
1352
1352
        }