summaryrefslogtreecommitdiffstats
path: root/src/translators/btparse/tokens.h
blob: 1f51459d6e0d0026d7081546e0f666e5e41de543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef tokens_h
#define tokens_h
/* tokens.h -- List of labelled tokens and stuff
 *
 * Generated from: bibtex.g
 *
 * Terence Parr, Will Cohen, and Hank Dietz: 1989-1994
 * Purdue University Electrical Engineering
 * ANTLR Version 1.33
 */
#define zzEOF_TOKEN 1
#define AT 2
#define COMMENT 4
#define NUMBER 9
#define NAME 10
#define LBRACE 11
#define RBRACE 12
#define ENTRY_OPEN 13
#define ENTRY_CLOSE 14
#define ETQUALS 15
#define HASH 16
#define COMMA 17
#define STRING 25

void bibfile(AST**_root);
void entry(AST**_root);
void body(AST**_root, bt_metatype metatype );
void contents(AST**_root, bt_metatype metatype );
void fields(AST**_root);
void field(AST**_root);
void value(AST**_root);
void simple_value(AST**_root);

#endif
extern SetWordType zzerr1[];
extern SetWordType zzerr2[];
extern SetWordType zzerr3[];
extern SetWordType zzerr4[];
extern SetWordType setwd1[];
extern SetWordType zzerr5[];
extern SetWordType setwd2[];