IDZEBRA
2.2.7
|
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <idzebra/util.h>
#include <dfa.h>
#include "lexer.h"
Go to the source code of this file.
Macros | |
#define | MAXLINE 512 |
Functions | |
static void | prep (char **s) |
static void | read_defs (void) |
static void | read_rules (struct DFA *dfap) |
static void | read_tail (void) |
static char * | read_line (void) |
int | read_file (const char *s, struct DFA *dfa) |
Variables | |
static FILE * | inf |
static FILE * | outf |
static const char * | inf_name |
static int | line_no |
static int | err_no |
#define MAXLINE 512 |
Definition at line 35 of file readfile.c.
|
static |
static void read_defs | ( | void | ) |
Definition at line 73 of file readfile.c.
References error(), outf, and read_line().
Referenced by read_file().
int read_file | ( | const char * | s, |
struct DFA * | dfa | ||
) |
Definition at line 141 of file readfile.c.
References err_no, error(), inf, inf_name, line_no, outf, read_defs(), read_rules(), and read_tail().
Referenced by main().
|
static |
Definition at line 66 of file readfile.c.
References inf, line_no, and MAXLINE.
Referenced by read_defs(), read_rules(), and read_tail().
static void read_rules | ( | struct DFA * | dfap | ) |
Definition at line 86 of file readfile.c.
References dfa_parse(), err_no, error(), inf_name, line_no, outf, prep(), and read_line().
Referenced by read_file().
static void read_tail | ( | void | ) |
Definition at line 134 of file readfile.c.
References outf, and read_line().
Referenced by read_file().
|
static |
Definition at line 41 of file readfile.c.
Referenced by read_file(), and read_rules().
|
static |
Definition at line 37 of file readfile.c.
Referenced by bf_commitExec(), bf_commitExists(), go(), grep_file(), index_marc_from_file(), index_marc_line_records(), main(), read_file(), and read_line().
|
static |
Definition at line 39 of file readfile.c.
Referenced by read_file(), and read_rules().
|
static |
Definition at line 40 of file readfile.c.
Referenced by read_file(), read_line(), and read_rules().
|
static |
Definition at line 38 of file readfile.c.
Referenced by bf_open(), convert_extract_doc(), encode_key_write(), grs_read_iso2709(), key_block_flush_int(), read_defs(), read_file(), read_rules(), and read_tail().