summaryrefslogtreecommitdiff
path: root/lib/lex.h
blob: a9ec531f561991eac1d83a815a75354ea925c947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _RE2C_LIB_LEX_
#define _RE2C_LIB_LEX_

#include "src/msg/location.h"
#include "src/regexp/re.h"
#include "src/parse/ast.h"

namespace re2c {

int lex(const char *&pattern);
const AST *parse(const char *pattern);
extern const AST *regexp;

} // namespace re2c

#endif // _RE2C_LIB_LEX_