diff options
Diffstat (limited to 'bitbake/lib/bb/parse/parse_c/lexer.h')
-rw-r--r-- | bitbake/lib/bb/parse/parse_c/lexer.h | 8 |
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 651f3a8618..cb32be7037 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. | |||
27 | #include "Python.h" | 27 | #include "Python.h" |
28 | 28 | ||
29 | extern "C" { | 29 | extern "C" { |
30 | 30 | ||
31 | struct lex_t { | 31 | struct lex_t { |
32 | void* parser; | 32 | void* parser; |
33 | void* scanner; | 33 | void* scanner; |
34 | FILE* file; | 34 | FILE* file; |
35 | char *name; | ||
35 | PyObject *data; | 36 | PyObject *data; |
36 | 37 | int config; | |
38 | |||
37 | void* (*parse)(void*, int, token_t, lex_t*); | 39 | void* (*parse)(void*, int, token_t, lex_t*); |
38 | 40 | ||
39 | void accept(int token, const char* sz = NULL); | 41 | void accept(int token, const char* sz = NULL); |