osprey-gcc/fixincludes/fixlib.c File Reference

#include "fixlib.h"

Include dependency graph for fixlib.c:

Go to the source code of this file.

Functions/Subroutines

char * load_file_data (FILE *fp)
void compile_re (tCC *pat, regex_t *re, int match, tCC *e1, tCC *e2)
t_bool mn_get_regexps (regex_t **label_re, regex_t **name_re, tCC *who)

Variables

tSCC mn_label_pat [] = "^[ \t]*#[ \t]*(if|ifdef|ifndef)[ \t]+"
static regex_t mn_label_re
static regex_t mn_name_re
static int mn_compiled = 0


Function Documentation

void compile_re ( tCC *  pat,
regex_t re,
int  match,
tCC *  e1,
tCC *  e2 
)

Definition at line 186 of file fixlib.c.

References err, exit(), EXIT_FAILURE, flags, fprintf(), REG_EXTENDED, REG_NEWLINE, REG_NOSUB, regerror, and tSCC.

char* load_file_data ( FILE fp  ) 

Definition at line 35 of file fixlib.c.

References err, errno, feof(), ferror(), fprintf(), fread, free(), NUL, NULL, xrealloc(), and xstrerror().

t_bool mn_get_regexps ( regex_t **  label_re,
regex_t **  name_re,
tCC *  who 
)

Definition at line 216 of file fixlib.c.

Referenced by FIX_PROC_HEAD(), and TEST_FOR_FIX_PROC_HEAD().


Variable Documentation

int mn_compiled = 0 [static]

Definition at line 213 of file fixlib.c.

tSCC mn_label_pat[] = "^[ \t]*#[ \t]*(if|ifdef|ifndef)[ \t]+"

Definition at line 209 of file fixlib.c.

regex_t mn_label_re [static]

Definition at line 210 of file fixlib.c.

regex_t mn_name_re [static]

Definition at line 211 of file fixlib.c.


Generated on Wed Apr 8 15:50:14 2009 for Open64 by  doxygen 1.5.6