home *** CD-ROM | disk | FTP | other *** search
-
- /* c.ptc */
- extern void prtmsg(errors m);
- extern unsigned char uppercase(unsigned char c);
- extern unsigned char lowercase(unsigned char c);
- extern void gettokn(strindx i, toknbuf *t);
- extern void puttokn(strindx i, toknbuf *t);
- extern void writetok(toknbuf *w);
- extern void printtok(strindx i);
- extern void printid(idptr ip);
- extern void printchr(unsigned char c);
- extern void printstr(strindx i);
- extern treeptr idup(treeptr ip);
- extern hashtyp hashtokn(toknbuf *id);
- extern strindx savestr(toknbuf *t);
- extern idptr saveid(toknbuf *id);
- extern idptr mkconc(unsigned char sep, idptr p, idptr q);
- extern void dig(integer n);
- extern idptr mkuniqname(toknbuf *t);
- extern idptr mkvariable(unsigned char c);
- extern idptr mkrename(unsigned char c, idptr ip);
- extern idptr mkvrnt(void);
- extern void checksymbol(symset ss);
- extern unsigned char nextchar(void);
- extern unsigned char peekchar(void);
- extern boolean idchar(unsigned char c);
- extern boolean numchar(unsigned char c);
- extern integer numval(unsigned char c);
- extern symtyp keywordcheck(toknbuf *w, toknidx l);
- extern void nexttoken(boolean realok);
- extern void nextsymbol(symset ss);
- extern treeptr typeof(treeptr tp);
- extern void linkup(treeptr up, treeptr tp);
- extern symptr mksym(ltypes vt);
- extern void declsym(symptr sp);
- extern treeptr mknode(treetyp nt);
- extern treeptr mklit(void);
- extern symptr lookupid(idptr ip, boolean fieldok);
- extern symptr lookuplabel(integer i);
- extern void enterscope(declptr dp);
- extern declptr currscope(void);
- extern void leavescope(void);
- extern symptr mkid(idptr ip);
- extern treeptr newid(idptr ip);
- extern treeptr oldid(idptr ip, ltypes l);
- extern treeptr oldfield(treeptr tp, idptr ip);
- extern void addfields(treeptr rp);
- extern void scopeup(treeptr tp);
- extern treeptr newlbl(void);
- extern treeptr oldlbl(boolean defpt);
- extern void pbody(treeptr tp);
- extern treeptr pprmlist(void);
- extern treeptr pprogram(void);
- extern treeptr pmodule(void);
- extern treeptr plabel(void);
- extern treeptr pidlist(ltypes l);
- extern treeptr pconst(void);
- extern treeptr pconstant(boolean realok);
- extern treeptr precord(symtyp cs, declptr dp);
- extern treeptr ptypedef(void);
- extern treeptr ptype(void);
- extern treeptr pvar(void);
- extern treeptr psubs(void);
- extern treeptr pconfsub(void);
- extern treeptr pconform(void);
- extern treeptr psubpar(void);
- extern treeptr plabstmt(void);
- extern treeptr pstmt(void);
- extern void flagassigndest(treeptr tp);
- extern treeptr psimple(void);
- extern treeptr pvariable(treeptr varptr);
- extern treeptr padjust(treeptr tu, treeptr tr);
- extern treeptr pexpr(treeptr tnp);
- extern treeptr pcase(void);
- extern treeptr pif(void);
- extern treeptr pwhile(void);
- extern treeptr prepeat(void);
- extern treeptr pfor(void);
- extern treeptr pwith(void);
- extern treeptr pgoto(void);
- extern treeptr pbegin(boolean retain);
- extern void parse(void);
- extern integer cvalof(treeptr tp);
- extern integer clower(treeptr tp);
- extern integer cupper(treeptr tp);
- extern integer crange(treeptr tp);
- extern integer csetwords(integer i);
- extern integer csetsize(treeptr tp);
- extern boolean islocal(treeptr tp);
- extern void crtnvar(treeptr tp);
- extern void renamf(treeptr tp);
- extern treeptr xtrit(treeptr tp, treeptr pp, boolean last);
- extern void nametype(treeptr tp);
- extern treeptr xtrenum(treeptr tp, treeptr pp);
- extern void extract(treeptr tp);
- extern void markdecl(treeptr xp);
- extern treeptr movedecl(treeptr tp);
- extern void moveglob(treeptr tp, treeptr dp);
- extern treeptr stackop(treeptr decl, treeptr glob, treeptr loc);
- extern void addcode(treeptr tp, treeptr push);
- extern void movevars(treeptr tp, treeptr vp);
- extern void registervar(treeptr tp);
- extern void cklevel(treeptr tp);
- extern void global(treeptr tp, treeptr dp, boolean depend);
- extern void renamc(void);
- extern void renamp(treeptr tp, boolean on);
- extern boolean filevar(treeptr tp);
- extern treeptr fileinit(treeptr ti, treeptr tq, boolean opn);
- extern void initcode(treeptr tp);
- extern void transform(void);
- extern void increment(void);
- extern void decrement(void);
- extern void indent(void);
- extern boolean arithexpr(treeptr tp);
- extern boolean needsintcast(treeptr tp);
- extern void eselect(treeptr tp);
- extern unsigned char typeletter(treeptr tp);
- extern void etxt(treeptr tp);
- extern void eformat(treeptr tq);
- extern void ewrite(treeptr tq);
- extern void esubsize(treeptr tp, treeptr tq);
- extern void enewsize(treeptr tp);
- extern void epredef(treeptr ts, treeptr tp);
- extern void eaddr(treeptr tp);
- extern void ecall(treeptr tp);
- extern boolean constxps(treeptr tp);
- extern boolean constset(treeptr tp);
- extern void eexpr(treeptr tp);
- extern void econst(treeptr tp);
- extern void edconst(treeptr tp);
- extern void etrange(treeptr tp);
- extern void printsuf(idptr ip);
- extern void etdef(idptr uid, treeptr tp);
- extern void etypedef(treeptr tp);
- extern void etype(treeptr tp);
- extern void evar(treeptr tp);
- extern void ewithtype(treeptr tp);
- extern void echoise(treeptr tp);
- extern void cenv(idptr ip, declptr dp);
- extern void eglobid(treeptr tp);
- extern void estmt(treeptr tp);
- extern void elabel(treeptr tp);
- extern void econf(treeptr tp);
- extern void esubr(treeptr tp);
- extern boolean use(predefs d);
- extern void capital(symptr sp);
- extern void eprogram(treeptr tp);
- extern integer size(treeptr tp);
- extern void eword(bitset s);
- extern void ebits(treeptr tp);
- extern void econset(treeptr tp, integer len);
- extern void emit(void);
- extern void defname(cnames cn, keyword str);
- extern void defid(treetyp nt, predefs did, keyword str);
- extern void defkey(symtyp s, keyword w);
- extern void fixfp(strindx i);
- extern void defmach(integer lo, integer hi, machdefstr str);
- extern void initstrstore(void);
- extern void initialize(void);
- extern void error(errors m);
- extern void fatal(errors m);
- extern int main(int _ac, unsigned char *_av[]);
- extern setptr Union(register setptr p1, register setptr p2);
- extern boolean Member(register unsigned int m, register setptr sp);
- extern setptr Insmem(register unsigned int m, register setptr sp);
- extern setptr Currset(int n, setptr sp);
- extern void Setncpy(register setptr S1, register setptr S2, register unsigned int N);
- extern struct Set *Alignset(register unsigned int *Sp);
- extern struct String *Alignstr(register unsigned char *Cp);
-