mirror of
https://github.com/python/cpython.git
synced 2026-06-24 03:53:12 -04:00
gh-90110: Clean Up the C-analyzer Globals Lists (gh-100091)
https://github.com/python/cpython/issues/90110
This commit is contained in:
@@ -13,6 +13,7 @@ void *
|
||||
_PyPegen_dummy_name(Parser *p, ...)
|
||||
{
|
||||
// XXX This leaks memory from the initial arena.
|
||||
// Use a statically allocated variable instead of a pointer?
|
||||
static void *cache = NULL;
|
||||
|
||||
if (cache != NULL) {
|
||||
@@ -1287,4 +1288,4 @@ _PyPegen_nonparen_genexp_in_call(Parser *p, expr_ty args, asdl_comprehension_seq
|
||||
_PyPegen_get_last_comprehension_item(last_comprehension),
|
||||
"Generator expression must be parenthesized"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user