]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r246371: sh: Do not test for digit_contig in mksyntax.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Mar 2013 22:33:13 +0000 (22:33 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Mar 2013 22:33:13 +0000 (22:33 +0000)
commit8a49d71c9d0cb4c29709634df1d4f8912a10c11c
treeac8e924a908dfed00202239e10de713640d9b5aa
parenta5105514261821ce1ff66d7e3ee2be27a29418a9
MFC r246371: sh: Do not test for digit_contig in mksyntax.

ISO/IEC 9899:1999 (E) 5.2.1p3 guarantees that the values of the characters
0123456789 are contiguous.

The generated syntax.c and syntax.h remain the same.

Submitted by: Christoph Mallon

git-svn-id: svn://svn.freebsd.org/base/stable/8@247733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/sh/mksyntax.c