From 70046475a361d2ba180bf23b6a6ba154f7dae166 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 26 Jul 2021 10:05:59 +0200 Subject: Fix type declaration in parser. --- Cython/Compiler/Parsing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index a1a3a7392..3d389f6fc 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -2793,10 +2793,10 @@ sign_and_longness_words = cython.declare(frozenset, frozenset(( "short", "long", "signed", "unsigned"))) base_type_start_words = cython.declare( - set, + frozenset, basic_c_type_names | sign_and_longness_words - | set(special_basic_c_types)) + | frozenset(special_basic_c_types)) struct_enum_union = cython.declare(frozenset, frozenset(( "struct", "union", "enum", "packed"))) -- cgit v1.2.1