projects
/
vuplus_bitbake
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/bb/parse/parse_c: Throw Parse Exceptions, crash less often
[vuplus_bitbake]
/
lib
/
bb
/
parse
/
parse_c
/
lexer.h
diff --git
a/lib/bb/parse/parse_c/lexer.h
b/lib/bb/parse/parse_c/lexer.h
index
651f3a8
..
91cd1c0
100644
(file)
--- 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);