Lines Matching refs:ps
2955 struct pstate ps; in Parse() local
2964 memset(&ps, '\0', sizeof(ps)); in Parse()
2965 ps.gp = gp; in Parse()
2966 ps.filename = gp->filename; in Parse()
2967 ps.errorcnt = 0; in Parse()
2968 ps.state = INITIALIZE; in Parse()
2971 fp = fopen(ps.filename,"rb"); in Parse()
2973 ErrorMsg(ps.filename,0,"Can't open this file for reading."); in Parse()
2982 ErrorMsg(ps.filename,0,"Input file too large."); in Parse()
2989 ErrorMsg(ps.filename,0,"Can't read in all %d bytes of this file.", in Parse()
3026 ps.tokenstart = cp; /* Mark the beginning of the token */ in Parse()
3027 ps.tokenlineno = lineno; /* Linenumber on which token begins */ in Parse()
3035 ErrorMsg(ps.filename,startline, in Parse()
3038 ps.errorcnt++; in Parse()
3075 ErrorMsg(ps.filename,ps.tokenlineno, in Parse()
3078 ps.errorcnt++; in Parse()
3099 parseonetoken(&ps); /* Parse the token */ in Parse()
3104 gp->rule = ps.firstrule; in Parse()
3105 gp->errorcnt = ps.errorcnt; in Parse()