[PROPOSED] Allow some IPA symbols in commentary
This for the [ˈkɪjiu̯] recently added to Kiev comments. * Makefile (UNUSUAL_OK_LATIN_1, UNUSUAL_OK_IPA): New macros. (UNUSUAL_OK_CHARSET): Use them. (check_character_set): Broaden list of exempt lines. --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3d06d93..39da17e 100644 --- a/Makefile +++ b/Makefile @@ -418,10 +418,14 @@ SAFE_CHARSET3= 'abcdefghijklmnopqrstuvwxyz{|}~' SAFE_CHARSET= $(SAFE_CHARSET1)$(SAFE_CHARSET2)$(SAFE_CHARSET3) SAFE_CHAR= '[]'$(SAFE_CHARSET)'-]' +# These characters are Latin-1, and so are likely to be displayable +# even in editors with limited character sets. +UNUSUAL_OK_LATIN_1 = «°±»½¾× +# IPA symbols are OK in commentary despite being non-alphabetic. +UNUSUAL_OK_IPA = ɪu̯ # Non-ASCII non-letters that OK_CHAR allows, as these characters are -# useful in commentary. These all came from Latin-1, and so are likely -# to be displayable even in editors with limited character sets. -UNUSUAL_OK_CHARSET= «°±»½¾× +# useful in commentary. +UNUSUAL_OK_CHARSET= $(UNUSUAL_OK_LATIN_1)$(UNUSUAL_OK_IPA) # OK_CHAR matches any character allowed in the distributed files. # This is the same as SAFE_CHAR, except that UNUSUAL_OK_CHARSET and @@ -735,7 +739,7 @@ check_character_set: $(ENCHILADA) $(MISC) $(SOURCES) $(WEB_PAGES) \ CONTRIBUTING LICENSE README \ version tzdata.zi && \ - ! grep -Env $(SAFE_LINE)'|^UNUSUAL_OK_CHARSET='$(OK_CHAR)'*$$' \ + ! grep -Env $(SAFE_LINE)'|^UNUSUAL_OK_'$(OK_CHAR)'*$$' \ Makefile && \ ! grep -Env $(SAFE_SHARP_LINE) $(TDATA_TO_CHECK) backzone \ leapseconds yearistype.sh zone.tab && \ -- 2.17.1
participants (1)
-
Paul Eggert