tagged release 0.7.1
[parrot.git] / compilers / pirc / macro / lexer.h
blob14961c2bc291ea2f70c44c878f8149fc306d75b8
1 /*
2 * $Id$
3 * Copyright (C) 2007, The Perl Foundation.
4 */
5 #ifndef PARROT_PIR_LEXER_H_GUARD
6 #define PARROT_PIR_LEXER_H_GUARD
10 typedef struct lexer_state {
11 constant_table *globaldefinitions;
12 char *currentfile;
13 int errors;
14 int flexdebug;
15 char *macro_id;
16 int line;
17 int id_gen; /* generator for unique ids */
18 int unique_id; /* unique number for generated locals and labels */
19 int num_digits; /* keep track of number of digits in unique_id */
22 } lexer_state;
26 #endif /* PARROT_PIR_MACRO_H_GUARD */
29 * Local variables:
30 * c-file-style: "parrot"
31 * End:
32 * vim: expandtab shiftwidth=4: