/*
 * $Id: lexer.h 22810 2007-11-12 13:31:20Z kjs $
 * Copyright (C) 2007, The Perl Foundation.
 */
#ifndef PARROT_PIR_LEXER_H_GUARD
#define PARROT_PIR_LEXER_H_GUARD



typedef struct lexer_state {
    constant_table *globaldefinitions;
    char *currentfile;
    int   errors;
    int   flexdebug;
    char *macro_id;
    int   line;
    int   id_gen;     /* generator for unique ids */
    int   unique_id;  /* unique number for generated locals and labels */
    int   num_digits; /* keep track of number of digits in unique_id */


} lexer_state;



#endif /* PARROT_PIR_MACRO_H_GUARD */

/*
 * Local variables:
 *   c-file-style: "parrot"
 * End:
 * vim: expandtab shiftwidth=4:
 */
