Ignore:
Timestamp:
Apr 21, 2007, 8:33:35 AM (18 years ago)
Author:
bird
Message:

hacking...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ash-messup/input.h

    r626 r879  
    4747extern int init_editline;       /* 0 == not setup, 1 == OK, -1 == failed */
    4848
    49 char *pfgets(char *, int);
    50 int pgetc(void);
    51 int preadbuffer(void);
    52 void pungetc(void);
    53 void pushstring(char *, int, void *);
    54 void popstring(void);
    55 void setinputfile(const char *, int);
    56 void setinputfd(int, int);
    57 void setinputstring(char *, int);
    58 void popfile(void);
    59 void popallfiles(void);
    60 void closescript(int);
     49char *pfgets(struct shinstance *, char *, int);
     50int pgetc(struct shinstance *);
     51int preadbuffer(struct shinstance *);
     52void pungetc(struct shinstance *);
     53void pushstring(struct shinstance *, char *, int, void *);
     54void popstring(struct shinstance *);
     55void setinputfile(struct shinstance *, const char *, int);
     56void setinputfd(struct shinstance *, int, int);
     57void setinputstring(struct shinstance *, char *, int);
     58void popfile(struct shinstance *);
     59void popallfiles(struct shinstance *);
     60void closescript(struct shinstance *, int);
    6161
    62 #define pgetc_macro()   (--parsenleft >= 0? *parsenextc++ : preadbuffer())
     62#define pgetc_macro()   (--psh->parsenleft >= 0? *psh->parsenextc++ : preadbuffer(psh))
Note: See TracChangeset for help on using the changeset viewer.