/* defined in the inc file */

#ifndef ER_YACC_HELPER_H
#define ER_YACC_HELPER_H

#ifdef __cplusplus
extern "C" {
#endif

void myerror(void *ypar, char *s);
er_ret_t mysetsev(lexerr_t *erst, int ismax, char *spec);
void mycleanup(void *ypar);
void er_yy_tracelog(char *fmt, ...);
int ER_parse_spec(char *buf, char **ert);

/* defined for the lex file */
void lexcleancurbuf(void);
int er_yylex();

/* defined in the lex generated file */
extern void er_yy_delete_buffer();
extern void er_yy_switch_to_buffer();

#ifdef __cplusplus
}
#endif


#endif /* ER_YACC_HELPER_H */
