scan.c File Reference

#include "jam.h"
#include "lists.h"
#include "parse.h"
#include "scan.h"
#include "gram.h"
#include "jambase.h"
#include "newstr.h"
#include "gramtab.h"

Data Structures

struct  keyword
struct  include

Defines

#define BIGGEST_TOKEN   10240
#define yychar()   ( *incp->string ? *incp->string++ : yyline() )
#define yyprev()   ( incp->string-- )

Functions

static char * symdump (YYSTYPE *s)
void yymode (int n)
void yyerror (const char *s)
int yyanyerrors ()
void yyfparse (const char *s)
int yyline ()
int yylex ()

Variables

keyword keywords []
static struct includeincp = 0
static int scanmode = SCAN_NORMAL
static int anyerrors = 0

Define Documentation

#define BIGGEST_TOKEN   10240

 
#define yychar (  )     ( *incp->string ? *incp->string++ : yyline() )

 
#define yyprev (  )     ( incp->string-- )


Function Documentation

static char * symdump ( YYSTYPE s  )  [static]

int yyanyerrors (  ) 

void yyerror ( const char *  s  ) 

void yyfparse ( const char *  s  ) 

int yylex (  ) 

int yyline (  ) 

void yymode ( int  n  ) 


Variable Documentation

int anyerrors = 0 [static]

struct include* incp = 0 [static]

struct keyword keywords[]

int scanmode = SCAN_NORMAL [static]


Generated on Thu Aug 17 15:54:33 2006 for MaJam by  doxygen 1.4.7