#include "fixlib.h"

Go to the source code of this file.
Data Types | |
| type | fix_entry_t |
Defines | |
| #define | GTYPE_SE_CT 1 |
| #define | FIXUP_TABLE |
| #define | FIX_PROC_HEAD(fix) |
| #define | SCRATCHSZ 64 |
| #define | _FT_(n, p) { n, p }, |
| #define | FIX_TABLE_CT (ARRAY_SIZE (fix_table)-1) |
Typedefs | |
| typedef void | t_fix_proc (const char *, const char *, tFixDesc *) |
Functions/Subroutines | |
| static const char * | emit_gnu_type (const char *text, regmatch_t *rm) |
| static void | format_write (tCC *format, tCC *text, regmatch_t av[]) |
| FIX_PROC_HEAD (format_fix) | |
| FIX_PROC_HEAD (char_macro_use_fix) | |
| FIX_PROC_HEAD (char_macro_def_fix) | |
| FIX_PROC_HEAD (machine_name_fix) | |
| FIX_PROC_HEAD (wrap_fix) | |
| FIX_PROC_HEAD (gnu_type_fix) | |
| void | apply_fix (tFixDesc *p_fixd, tCC *filname) |
Variables | |
| tSCC | zNeedsArg [] = "fixincl error: `%s' needs %s argument (c_fix_arg[%d])\n" |
| #define FIX_PROC_HEAD | ( | fix | ) |
Value:
static void fix (const char* filname ATTRIBUTE_UNUSED , \ const char* text ATTRIBUTE_UNUSED , \ tFixDesc* p_fixd ATTRIBUTE_UNUSED )
Definition at line 77 of file fixfixes.c.
| #define FIX_TABLE_CT (ARRAY_SIZE (fix_table)-1) |
| #define FIXUP_TABLE |
| #define GTYPE_SE_CT 1 |
Definition at line 54 of file fixfixes.c.
| #define SCRATCHSZ 64 |
Definition at line 487 of file fixfixes.c.
| typedef void t_fix_proc(const char *, const char *, tFixDesc *) |
Definition at line 62 of file fixfixes.c.
Definition at line 702 of file fixfixes.c.
References buf, exit(), EXIT_BROKEN, fix_entry_t::fix_name, fix_entry_t::fix_proc, FIX_TABLE_CT, FIXUP_TABLE, fprintf(), load_file_data(), NULL, fix_desc::patch_args, strcmp(), and tCC.
| static const char* emit_gnu_type | ( | const char * | text, | |
| regmatch_t * | rm | |||
| ) | [static] |
Definition at line 131 of file fixfixes.c.
References fwrite, NUL, pe, printf(), regmatch_t::rm_eo, regmatch_t::rm_so, strcmp(), TOUPPER, and tSCC.
| FIX_PROC_HEAD | ( | gnu_type_fix | ) |
Definition at line 652 of file fixfixes.c.
References compile_re(), emit_gnu_type(), exit(), EXIT_BROKEN, fprintf(), fputs(), GTYPE_SE_CT, IGNORE_ARG, test_desc::pz_test_text, rm, TT_EGREP, test_desc::type, and zNeedsArg.
| FIX_PROC_HEAD | ( | wrap_fix | ) |
| FIX_PROC_HEAD | ( | machine_name_fix | ) |
Definition at line 489 of file fixfixes.c.
References abort, base, fputs(), fwrite, IGNORE_ARG, len, memcpy, mn_get_regexps(), p, q, REG_NOTBOL, regmatch_t::rm_eo, regmatch_t::rm_so, scratch, SCRATCHSZ, strchr, and strncmp().
| FIX_PROC_HEAD | ( | char_macro_def_fix | ) |
Definition at line 394 of file fixfixes.c.
References compile_re(), exit(), EXIT_BROKEN, fprintf(), fputs(), fwrite, IGNORE_ARG, ISALPHA, ISIDNUM, ISUPPER, len, NULL, p, putchar(), rm, regmatch_t::rm_eo, str, strchr, strlen(), strncmp(), and zNeedsArg.
| FIX_PROC_HEAD | ( | char_macro_use_fix | ) |
Definition at line 309 of file fixfixes.c.
References compile_re(), exit(), EXIT_BROKEN, fprintf(), fputs(), fwrite, IGNORE_ARG, ISALPHA, ISIDNUM, ISSPACE, ISUPPER, len, NULL, p, putchar(), rm, regmatch_t::rm_eo, str, strchr, strlen(), strncmp(), and zNeedsArg.
| FIX_PROC_HEAD | ( | format_fix | ) |
Definition at line 236 of file fixfixes.c.
References compile_re(), exit(), EXIT_BROKEN, format_write(), fprintf(), fputs(), fwrite, IGNORE_ARG, NULL, test_desc::pz_test_text, rm, regmatch_t::rm_eo, tCC, TT_EGREP, test_desc::type, and zNeedsArg.
| static void format_write | ( | tCC * | format, | |
| tCC * | text, | |||
| regmatch_t | av[] | |||
| ) | [static] |
Definition at line 179 of file fixfixes.c.
References c, fwrite, ISDIGIT, len, NUL, putchar(), regmatch_t::rm_eo, regmatch_t::rm_so, and unsigned.
Definition at line 60 of file fixfixes.c.
1.5.6