makeqstrdata: ensure _lt and _gt qstrs are sorted early

this fixes a build error because their numbers have to be <256
This commit is contained in:
Jeff Epler 2023-09-22 10:38:52 -05:00
parent 018baf75d5
commit 9104654930
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -342,6 +342,10 @@ def parse_input_headers_with_translations(infiles):
order = -190000
elif ident.startswith("__"):
order -= 100000
elif ident.startswith("_lt"):
order -= 100000
elif ident.startswith("_gt"):
order -= 100000
qstrs[ident] = (order, ident, qstr)
if not qcfgs and qstrs: