#include "parm.h"
#include <stdio.h>
#include "stree/ststructs.mh"
#include "pass3/is_local.h"
Go to the source code of this file.
Data Structures | |
struct | decl_entry |
Defines | |
#define | TRACE |
#define | DEBUG |
#define | IFTRACE(x) |
#define | FMTERR 7 |
#define | MAXLISTELMTS 100000 |
#define | add_decl(decl) |
#define | NONE -1 |
#define | LOCALREP 0 |
#define | GLOBALREP 1 |
#define | SELECTREP 2 |
#define | CONSTR_UNKNOWN 0 |
#define | CONSTR_AVAIL 1 |
#define | SLINK_AVAIL 2 |
Functions | |
static | get_decl (NODE *decl_num) |
static | free_decls () |
NODE * | sig_in1 () |
char * | get_string (FILE *Sinfile) |
int | readw (FILE *Sinfile) |
NODE * | get_name (FILE *Sinfile, int kindno) |
NODE * | list_in (FILE *Sinfile) |
NODE * | sig_in (FILE *Sinfile, char *name) |
NODE * | sig_in1 (FILE *Sinfile) |
Variables | |
char | FMTMSG [] = "Bad signature format for %s (not compiled with -c?)\n" |
FILE * | unparse_file |
char * | Sinf_name |
boolean | Gflag |
struct decl_entry * | decl_nums |
static int | decl_num = 0 |
char | tokenbuf [1000] |
#define add_decl | ( | decl | ) |
Value:
{ \ struct decl_entry * o = malloc(sizeof (struct decl_entry)); \ o -> de_number = (++decl_num); \ o -> de_decl = decl; \ o -> de_next = decl_nums; \ decl_nums = o; \ }
Definition at line 41 of file sa_sig_in.c.
Referenced by sig_in1(), and sig_out1().
#define CONSTR_AVAIL 1 |
Referenced by sig_in1(), and sig_out1().
#define CONSTR_UNKNOWN 0 |
Referenced by sig_in1(), and sig_out1().
#define DEBUG |
Definition at line 5 of file sa_sig_in.c.
#define FMTERR 7 |
Definition at line 19 of file sa_sig_in.c.
Referenced by get_name(), get_string(), list_in(), readw(), and sig_in1().
#define GLOBALREP 1 |
#define IFTRACE | ( | x | ) |
Definition at line 12 of file sa_sig_in.c.
#define LOCALREP 0 |
#define MAXLISTELMTS 100000 |
#define NONE -1 |
Definition at line 49 of file sa_sig_in.c.
#define SELECTREP 2 |
#define SLINK_AVAIL 2 |
Referenced by sig_in1(), and sig_out1().
#define TRACE |
Definition at line 3 of file sa_sig_in.c.
static free_decls | ( | ) | [static] |
Definition at line 67 of file sa_sig_in.c.
References decl_entry::de_next, decl_nums, free, and NIL.
Referenced by sig_in().
static get_decl | ( | NODE * | decl_num | ) | [static] |
Definition at line 52 of file sa_sig_in.c.
References decl_entry::de_decl, decl_entry::de_next, decl_entry::de_number, decl_nums, NIL, and NONE.
Referenced by get_name().
NODE* get_name | ( | FILE * | Sinfile, | |
int | kindno | |||
) |
char* get_string | ( | FILE * | Sinfile | ) |
NODE* list_in | ( | FILE * | Sinfile | ) |
Definition at line 245 of file sa_sig_in.c.
References addright(), FMTERR, FMTMSG, MAXLISTELMTS, readw(), sig_in1(), and Sinf_name.
Referenced by sig_in1().
int readw | ( | FILE * | Sinfile | ) |
Definition at line 117 of file sa_sig_in.c.
References FMTERR, FMTMSG, and Sinf_name.
Referenced by get_name(), list_in(), and sig_in1().
NODE* sig_in | ( | FILE * | Sinfile, | |
char * | name | |||
) |
Definition at line 272 of file sa_sig_in.c.
References decl_num, decl_nums, free_decls(), NIL, sig_in1(), Sinf_name, unparse(), and unparse_file.
NODE* sig_in1 | ( | FILE * | Sinfile | ) |
Definition at line 292 of file sa_sig_in.c.
References add_decl, addright(), CONSTR_AVAIL, CONSTR_UNKNOWN, dbgmsg, decl_num, FMTERR, FMTMSG, get_name(), get_RIC(), get_string(), Gflag, IFTRACE, kindname(), list_in(), lock, MAXLISTELMTS, mknode(), NIL, readw(), sig, sig_in1(), Sinf_name, SLINK_AVAIL, TRUE, and v.
NODE* sig_in1 | ( | ) |
Referenced by get_name(), list_in(), sig_in(), and sig_in1().
int decl_num = 0 [static] |
struct decl_entry * decl_nums |
Referenced by free_decls(), get_decl(), get_decl_num(), sig_in(), and sig_out().
char FMTMSG[] = "Bad signature format for %s (not compiled with -c?)\n" |
Definition at line 22 of file sa_sig_in.c.
Referenced by get_name(), get_string(), list_in(), readw(), and sig_in1().
Definition at line 7 of file extract_sig.c.
char* Sinf_name |
Definition at line 26 of file sa_sig_in.c.
Referenced by get_name(), get_string(), list_in(), readw(), sig_in(), and sig_in1().
char tokenbuf[1000] |
Definition at line 14 of file extract_sig.c.
FILE* unparse_file |