Skip to content

Commit

Permalink
Always quote tags (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
tychonievich authored Oct 15, 2024
1 parent 97dedf9 commit 49eb952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/uri-def.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 49eb952

Please sign in to comment.