summaryrefslogtreecommitdiff
path: root/lexer.hh
blob: ec7c9b929f4658e743e027aa6c05f27ab5bf58ca (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef LEXER_HH
#define LEXER_HH

#include "proto.hh"

void new_input(String s);
bool close_input();
int yylex();
void yyerror(char *s);

int lookup_keyword(String s);

Identifier* lookup_identifier(String s);
void add_identifier(Identifier*i);
void delete_identifiers();
#endif