|
12 | 12 | "name '%.400s' is used prior to global declaration" |
13 | 13 |
|
14 | 14 | PySTEntryObject * |
15 | | -PySTEntry_New(struct symtable *st, identifier name, block_ty block, |
| 15 | +PySTEntry_New(struct symtable *st, identifier name, _Py_block_ty block, |
16 | 16 | void *key, int lineno) |
17 | 17 | { |
18 | 18 | PySTEntryObject *ste = NULL; |
@@ -153,7 +153,7 @@ PyTypeObject PySTEntry_Type = { |
153 | 153 | static int symtable_analyze(struct symtable *st); |
154 | 154 | static int symtable_warn(struct symtable *st, char *msg); |
155 | 155 | static int symtable_enter_block(struct symtable *st, identifier name, |
156 | | - block_ty block, void *ast, int lineno); |
| 156 | + _Py_block_ty block, void *ast, int lineno); |
157 | 157 | static int symtable_exit_block(struct symtable *st, void *ast); |
158 | 158 | static int symtable_visit_stmt(struct symtable *st, stmt_ty s); |
159 | 159 | static int symtable_visit_expr(struct symtable *st, expr_ty s); |
@@ -711,7 +711,7 @@ symtable_exit_block(struct symtable *st, void *ast) |
711 | 711 | } |
712 | 712 |
|
713 | 713 | static int |
714 | | -symtable_enter_block(struct symtable *st, identifier name, block_ty block, |
| 714 | +symtable_enter_block(struct symtable *st, identifier name, _Py_block_ty block, |
715 | 715 | void *ast, int lineno) |
716 | 716 | { |
717 | 717 | PySTEntryObject *prev = NULL; |
|
0 commit comments