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/generated/init.c

    r1202 r1203  
    210210      /* from eval.c: */
    211211      {
    212               evalskip = 0;
    213               loopnest = 0;
    214               funcnest = 0;
     212              psh->evalskip = 0;
     213              psh->loopnest = 0;
     214              psh->funcnest = 0;
    215215      }
    216216
    217217      /* from input.c: */
    218218      {
    219               if (exception != EXSHELLPROC)
    220                       parselleft = parsenleft = 0;      /* clear input buffer */
     219              if (psh->exception != EXSHELLPROC)
     220                      psh->parselleft = psh->parsenleft = 0;    /* clear input buffer */
    221221              popallfiles(psh);
    222222      }
     
    234234      /* from parser.c: */
    235235      {
    236               tokpushback = 0;
    237               checkkwd = 0;
     236              psh->tokpushback = 0;
     237              psh->checkkwd = 0;
    238238      }
    239239
    240240      /* from redir.c: */
    241241      {
    242               while (redirlist)
     242              while (psh->redirlist)
    243243                      popredir(psh);
    244244      }
     
    261261      /* from eval.c: */
    262262      {
    263               exitstatus = 0;
     263              psh->exitstatus = 0;
    264264      }
    265265
     
    276276      /* from jobs.c: */
    277277      {
    278               backgndpid = -1;
     278              psh->backgndpid = -1;
    279279#if JOBS
    280280              jobctl = 0;
Note: See TracChangeset for help on using the changeset viewer.