diff options
Diffstat (limited to 'Parser/parser.h')
-rw-r--r-- | Parser/parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/parser.h b/Parser/parser.h index cf8d318..b0c9a1e 100644 --- a/Parser/parser.h +++ b/Parser/parser.h @@ -25,6 +25,7 @@ typedef struct { stack p_stack; /* Stack of parser states */ grammar *p_grammar; /* Grammar to use */ node *p_tree; /* Top of parse tree */ + int p_generators; /* 1 if yield is a keyword */ } parser_state; parser_state *PyParser_New(grammar *g, int start); |