From 49eb952f99737aaea9cc37f6e379e14a4f093e6c Mon Sep 17 00:00:00 2001 From: Luther Tychonievich Date: Tue, 15 Oct 2024 11:22:36 -0500 Subject: [PATCH] Always quote tags (#560) --- build/uri-def.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/uri-def.py b/build/uri-def.py index 498548ed..14b9fad5 100644 --- a/build/uri-def.py +++ b/build/uri-def.py @@ -396,7 +396,7 @@ def expand_prefix(txt, prefixes): if g7[tag][0] in ('structure', 'enumeration', 'calendar', 'month'): ptag = re.sub(r'.*-', '', re.sub(r'-[A-Z]?[a-z].*', '', tag)) - print('\nstandard tag: '+(repr(ptag) if ptag in ('YES','NO','TRUE','FALSE', '0', '1', '2', '3') else ptag), file=fh) + print('\nstandard tag: '+repr(ptag), file=fh) if len(g7[tag][1]) > 0: print('\nspecification:', file=fh)