Skip to content

Commit c870a79

Browse files
eisenwavejensmaurer
authored andcommitted
[check] Also diagnose \tcode{\exposid{kebap-case}}, i.e. hyphenated identifiers
1 parent 17354d7 commit c870a79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/check-source.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ grep -n 'U+' $texfiles |
8787
fail 'use \\unicode or \\ucode or \\uname instead' || failed=1
8888

8989
# Discourage double-wrapping \tcode{\exposid{data_}}
90-
grep -n '\\tcode{\\exposid{[a-zA-Z0-9_]*}}' $texfiles |
90+
grep -n '\\tcode{\\exposid{[a-zA-Z0-9_-]*}}' $texfiles |
9191
fail 'double-wrapped \\exposid in \\tcode' || failed=1
9292

9393
# Hex digits inside \ucode and \unicode must be lowercase so that \textsc works

0 commit comments

Comments
 (0)