summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2021-07-26 10:05:59 +0200
committerStefan Behnel <stefan_ml@behnel.de>2021-07-26 10:08:31 +0200
commit70046475a361d2ba180bf23b6a6ba154f7dae166 (patch)
tree877e8ae246589214ebf128c003353111ea478fd6
parentda9775ff6564112849b938d5a750a8b10406c969 (diff)
downloadcython-70046475a361d2ba180bf23b6a6ba154f7dae166.tar.gz
Fix type declaration in parser.
-rw-r--r--Cython/Compiler/Parsing.py4
1 files 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")))