]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r246371: sh: Do not test for digit_contig in mksyntax.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 20 Feb 2013 21:57:01 +0000 (21:57 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 20 Feb 2013 21:57:01 +0000 (21:57 +0000)
commita67d8ec10cd4e290a965828160f0e3a95636ed31
treeec40736a37295d980a0f1c408280f1fb07932b08
parent33017d9b4f83293a6b67eda4a92315a77a9571b6
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/9@247058 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/sh/mksyntax.c