'\v' is not a K&R character
This commit is contained in:
parent
2e58c2438f
commit
791246001f
1 changed files with 11 additions and 1 deletions
|
@ -621,13 +621,23 @@ Char array[];
|
||||||
|
|
||||||
switch ( array[1] )
|
switch ( array[1] )
|
||||||
{
|
{
|
||||||
|
#ifdef ACK_MOD
|
||||||
|
#if__STDC__
|
||||||
case 'a': return ( '\a' );
|
case 'a': return ( '\a' );
|
||||||
|
case 'v': return ( '\v' );
|
||||||
|
#else
|
||||||
|
case 'a': return ( '\007' );
|
||||||
|
case 'v': return ( '\013' );
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
case 'a': return ( '\a' );
|
||||||
|
case 'v': return ( '\v' );
|
||||||
|
#endif
|
||||||
case 'b': return ( '\b' );
|
case 'b': return ( '\b' );
|
||||||
case 'f': return ( '\f' );
|
case 'f': return ( '\f' );
|
||||||
case 'n': return ( '\n' );
|
case 'n': return ( '\n' );
|
||||||
case 'r': return ( '\r' );
|
case 'r': return ( '\r' );
|
||||||
case 't': return ( '\t' );
|
case 't': return ( '\t' );
|
||||||
case 'v': return ( '\v' );
|
|
||||||
|
|
||||||
case '0':
|
case '0':
|
||||||
case '1':
|
case '1':
|
||||||
|
|
Loading…
Add table
Reference in a new issue