Skip to content

Commit 788d25c

Browse files
committed
Also diagnose \tcode{\exposid{kebap-case}}, i.e. hyphenated identifiers
1 parent 35c1533 commit 788d25c

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)