summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/parse/parse_c/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse/parse_c/lexer.h')
-rw-r--r--bitbake/lib/bb/parse/parse_c/lexer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/bb/parse/parse_c/lexer.h b/bitbake/lib/bb/parse/parse_c/lexer.h
index 651f3a861..cb32be703 100644
--- a/bitbake/lib/bb/parse/parse_c/lexer.h
+++ b/bitbake/lib/bb/parse/parse_c/lexer.h
@@ -27,13 +27,15 @@ 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;
-
+ int config;
+
void* (*parse)(void*, int, token_t, lex_t*);
void accept(int token, const char* sz = NULL);