IDZEBRA  2.1.2
Functions | Variables
lexer.c File Reference
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <idzebra/util.h>
#include <dfa.h>
#include "imalloc.h"
#include "lexer.h"

Go to the source code of this file.

Functions

void error (const char *format,...)
 
static int lexer_options (int argc, char **argv)
 
int main (int argc, char **argv)
 

Variables

static char * prog
 
int ccluse = 0
 

Function Documentation

void error ( const char *  format,
  ... 
)

Definition at line 39 of file lexer.c.

References prog.

static int lexer_options ( int  argc,
char **  argv 
)
static

Definition at line 51 of file lexer.c.

References ccluse, debug_dfa_followpos, debug_dfa_tran, debug_dfa_trav, dfa_verbose, and prog.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 97 of file lexer.c.

References dfa_delete(), dfa_init(), dfa_mkstate(), lexer_options(), prog, and read_file().

Variable Documentation

int ccluse = 0

Definition at line 49 of file lexer.c.

Referenced by lexer_options().

char* prog
static

Definition at line 36 of file lexer.c.

Referenced by error(), lexer_options(), and main().