Lines Matching refs:ps
2956 struct pstate ps; in Parse() local
2965 memset(&ps, '\0', sizeof(ps)); in Parse()
2966 ps.gp = gp; in Parse()
2967 ps.filename = gp->filename; in Parse()
2968 ps.errorcnt = 0; in Parse()
2969 ps.state = INITIALIZE; in Parse()
2972 fp = fopen(ps.filename,"rb"); in Parse()
2974 ErrorMsg(ps.filename,0,"Can't open this file for reading."); in Parse()
2983 ErrorMsg(ps.filename,0,"Input file too large."); in Parse()
2990 ErrorMsg(ps.filename,0,"Can't read in all %d bytes of this file.", in Parse()
3027 ps.tokenstart = cp; /* Mark the beginning of the token */ in Parse()
3028 ps.tokenlineno = lineno; /* Linenumber on which token begins */ in Parse()
3036 ErrorMsg(ps.filename,startline, in Parse()
3039 ps.errorcnt++; in Parse()
3076 ErrorMsg(ps.filename,ps.tokenlineno, in Parse()
3079 ps.errorcnt++; in Parse()
3100 parseonetoken(&ps); /* Parse the token */ in Parse()
3105 gp->rule = ps.firstrule; in Parse()
3106 gp->errorcnt = ps.errorcnt; in Parse()