Skip to content

Commit f5fb41c

Browse files
authored
gen_str_catalog.py should accept "unsigned (long|int)" catalog return type
1 parent 4699253 commit f5fb41c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gen_str_catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def get_id(stables, gen, obj):
183183

184184

185185
def read_input(filenames: list[str], stable_data):
186-
line_re = re.compile(r"^.*unsigned int (catalog|module)<(.+?)>\(\)$")
186+
line_re = re.compile(r"^.*unsigned (?:int|long) (catalog|module)<(.+?)>\(\)$")
187187

188188
def read_file(filename):
189189
with open(filename, "r") as f:

0 commit comments

Comments
 (0)