summaryrefslogtreecommitdiffstats
path: root/lib/bb/parse/parse_c/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/parse/parse_c/lexer.h')
-rw-r--r--lib/bb/parse/parse_c/lexer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/bb/parse/parse_c/lexer.h b/lib/bb/parse/parse_c/lexer.h
index 651f3a861..91cd1c073 100644
--- a/lib/bb/parse/parse_c/lexer.h
+++ b/lib/bb/parse/parse_c/lexer.h
@@ -27,13 +27,14 @@ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "Python.h"
extern "C" {
-
+
struct lex_t {
void* parser;
void* scanner;
- FILE* file;
+ FILE* file;
+ char *name;
PyObject *data;
-
+
void* (*parse)(void*, int, token_t, lex_t*);
void accept(int token, const char* sz = NULL);