Changeset 1203 for trunk/src/kash/var.c


Ignore:
Timestamp:
Oct 7, 2007, 3:39:01 AM (18 years ago)
Author:
bird
Message:

converted a few more files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/var.c

    r1202 r1203  
    681681        }
    682682
    683         while ((name = *argptr++) != NULL) {
     683        while ((name = *psh->argptr++) != NULL) {
    684684                if ((p = strchr(name, '=')) != NULL) {
    685685                        p++;
     
    708708        if (! in_function(psh))
    709709                error(psh, "Not in a function");
    710         while ((name = *argptr++) != NULL) {
     710        while ((name = *psh->argptr++) != NULL) {
    711711                mklocal(psh, name, 0);
    712712        }
     
    830830                flg_var = 1;
    831831
    832         for (ap = argptr; *ap ; ap++) {
     832        for (ap = psh->argptr; *ap ; ap++) {
    833833                if (flg_func)
    834834                        ret |= unsetfunc(psh, *ap);
Note: See TracChangeset for help on using the changeset viewer.