Canola  0.8.D001
Functions | Variables
test_number_z/lex.cc File Reference
#include <lib/ac/stdio.h>
#include <libexplain/getchar.h>
#include <libexplain/output.h>
#include <libexplain/ungetc.h>
#include <lib/number/z.h>
#include <test_number_z/lex.h>
#include <test_number_z/grammar.yacc.h>

Go to the source code of this file.

Functions

void lex_end (void)
static bool have (char c)
int grammar_lex (void)
void grammar_error (const char *text)

Variables

static int number_of_errors
static int line_number = 1
static bool prev_was_eoln

Function Documentation

void grammar_error ( const char *  text)

Definition at line 164 of file lex.cc.

int grammar_lex ( void  )

Definition at line 65 of file lex.cc.

static bool have ( char  c) [static]

Definition at line 50 of file lex.cc.

void lex_end ( void  )

Definition at line 35 of file lex.cc.


Variable Documentation

int line_number = 1 [static]

Definition at line 30 of file lex.cc.

int number_of_errors [static]

Definition at line 29 of file lex.cc.

bool prev_was_eoln [static]

Definition at line 31 of file lex.cc.