qse/ase/awk/lex.h

33 lines
394 B
C
Raw Normal View History

2005-11-06 12:01:29 +00:00
/*
2005-11-07 16:02:44 +00:00
* $Id: lex.h,v 1.2 2005-11-07 16:02:44 bacon Exp $
2005-11-06 12:01:29 +00:00
*/
#ifndef _XP_AWK_LEX_H_
#define _XP_AWK_LEX_H_
#include <xp/awk/awk.h>
2005-11-07 16:02:44 +00:00
/*
2005-11-06 12:01:29 +00:00
struct xp_awk_lex_t
{
xp_awk_t* awk;
xp_str_t token;
xp_cint_t curc;
xp_cint_t ungotc[5];
xp_size_t ungotc_count;
xp_bool_t __malloced;
};
2005-11-07 16:02:44 +00:00
*/
2005-11-06 12:01:29 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2005-11-07 16:02:44 +00:00
int xp_awk_lex (xp_awk_t* awk);
2005-11-06 12:01:29 +00:00
#ifdef __cplusplus
}
#endif
#endif