From 791246001f99323c4eb769a11b2962316bd84d19 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 7 Nov 1991 09:34:02 +0000 Subject: [PATCH] '\v' is not a K&R character --- util/flex/misc.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/util/flex/misc.c b/util/flex/misc.c index 18f5727ed..bb2df4672 100644 --- a/util/flex/misc.c +++ b/util/flex/misc.c @@ -621,13 +621,23 @@ Char array[]; switch ( array[1] ) { +#ifdef ACK_MOD +#if__STDC__ 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 'f': return ( '\f' ); case 'n': return ( '\n' ); case 'r': return ( '\r' ); case 't': return ( '\t' ); - case 'v': return ( '\v' ); case '0': case '1': -- 2.34.1