|
Defines |
| #define | VERSION_STR "2.1.0" |
| #define | VERSION_INT 0x210 |
| #define | MAX_OPTIONS 100 |
| #define | MAXTAGS 16 |
Functions |
| void | resetglobals (void) |
| void | initglobals (void) |
| void | setopt (int argc, char **argv, char *iname, char *oname, char *bname, char *ename, char *pname, char *rname) |
| void | setconfig (char *root) |
| void | setcaption (void) |
| void | about (void) |
| void | setconstants (void) |
| void | parse (void) |
| void | dumplits (void) |
| void | dumpzero (int count) |
| void | declfuncvar (int tok, char *symname, int tag, int fpublic, int fstatic, int fstock, int fconst) |
| void | declglb (char *firstname, int firsttag, int fpublic, int fstatic, int stock, int fconst) |
| int | declloc (int fstatic) |
| void | decl_const (int table) |
| void | decl_enum (int table) |
| cell | needsub (int *tag) |
| void | initials (int ident, int tag, cell *size, int dim[], int numdim) |
| cell | initvector (int ident, int tag, cell size, int fillzero) |
| cell | init (int ident, int *tag) |
| void | funcstub (int native) |
| int | newfunc (char *firstname, int firsttag, int fpublic, int fstatic, int stock) |
| int | declargs (symbol *sym) |
| void | doarg (char *name, int ident, int offset, int tags[], int numtags, int fpublic, int fconst, arginfo *arg) |
| void | dump_referrers (symbol *root, FILE *log) |
| void | reduce_referrers (symbol *root) |
| int | testsymbols (symbol *root, int level, int testlabs, int testconst) |
| void | destructsymbols (symbol *root, int level) |
| constval * | find_constval_byval (constval *table, cell val) |
| void | statement (int *lastindent) |
| void | compound (void) |
| void | doexpr (int comma, int chkeffect, int allowarray, int mark_endexpr, int *tag, int chkfuncresult) |
| void | doassert (void) |
| void | doexit (void) |
| void | test (int label, int parens, int invert) |
| void | doif (void) |
| void | dowhile (void) |
| void | dodo (void) |
| void | dofor (void) |
| void | doswitch (void) |
| void | dogoto (void) |
| void | dolabel (void) |
| symbol * | fetchlab (char *name) |
| void | doreturn (void) |
| void | dobreak (void) |
| void | docont (void) |
| void | dosleep (void) |
| void | addwhile (int *ptr) |
| void | delwhile (void) |
| int * | readwhile (void) |
| int | main (int argc, char *argv[], char *env[]) |
| int | sc_printf (const char *message,...) |
| int | sc_error (int number, char *message, char *filename, int firstline, int lastline, va_list argptr) |
| void * | sc_opensrc (char *filename) |
| void | sc_closesrc (void *handle) |
| void | sc_resetsrc (void *handle, void *position) |
| char * | sc_readsrc (void *handle, char *target, int maxchars) |
| void * | sc_getpossrc (void *handle) |
| int | sc_eofsrc (void *handle) |
| void * | sc_openasm (char *filename) |
| void | sc_closeasm (void *handle, int deletefile) |
| void | sc_resetasm (void *handle) |
| int | sc_writeasm (void *handle, char *st) |
| char * | sc_readasm (void *handle, char *target, int maxchars) |
| void * | sc_openbin (char *filename) |
| void | sc_closebin (void *handle, int deletefile) |
| void | sc_resetbin (void *handle) |
| int | sc_writebin (void *handle, void *buffer, int size) |
| long | sc_lengthbin (void *handle) |
| int | sc_compile (int argc, char *argv[]) |
| int | sc_addconstant (char *name, cell value, int tag) |
| int | sc_addtag (char *name) |
| int | toggle_option (char *optptr, int option) |
| void | parserespf (char *filename, char *iname, char *oname, char *bname, char *ename, char *pname, char *rname) |
| void | parseoptions (int argc, char **argv, char *iname, char *oname, char *bname, char *ename, char *pname, char *rname) |
| int | waitkey (void) |
| void | aligndata (int numbytes) |
| cell | calc_arraysize (int dim[], int numdim, int cur) |
| symbol * | fetchfunc (char *name, int tag) |
| void | define_args (void) |
| int | operatorname (char *name) |
| int | operatoradjust (int opertok, symbol *sym, char *opername) |
| int | check_operatortag (int opertok, int resulttag, char *opername) |
| int | parse_funcname (char *fname, int *tag1, int *tag2, char *opname) |
| char * | funcdisplayname (char *dest, char *funcname) |
| int | argcompare (arginfo *a1, arginfo *a2) |
| int | count_referrers (symbol *entry) |
| cell | calc_array_datasize (symbol *sym, cell *offset) |
| constval * | insert_constval (constval *prev, constval *next, char *name, cell val) |
| constval * | append_constval (constval *table, char *name, cell val) |
| constval * | find_constval (constval *table, char *name) |
| void | delete_consttable (constval *table) |
| void | add_constant (char *name, cell val, int vclass, int tag) |
| int | constexpr (cell *val, int *tag) |
| void | exporttag (int tag) |
Variables |
| int | lastst = 0 |
| int | nestlevel = 0 |
| int | rettype = 0 |
| int | skipinput = 0 |
| int | wq [(24 *wqSIZE)] |
| int * | wqptr |
| char | binfname [255] |