summaryrefslogtreecommitdiff
path: root/lexer.hh
blob: 31be74169fa52b1443c0ec37ee44ca5bc3a83579 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);
#endif