Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/historical/nawk/dist Add translators for \v and \a ...
details: https://anonhg.NetBSD.org/src/rev/841a710786f4
branches: trunk
changeset: 964430:841a710786f4
user: christos <christos%NetBSD.org@localhost>
date: Thu Aug 01 13:17:42 2019 +0000
description:
Add translators for \v and \a per posix.
diffstat:
external/historical/nawk/dist/tran.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 53f1f3b5d456 -r 841a710786f4 external/historical/nawk/dist/tran.c
--- a/external/historical/nawk/dist/tran.c Thu Aug 01 13:13:51 2019 +0000
+++ b/external/historical/nawk/dist/tran.c Thu Aug 01 13:17:42 2019 +0000
@@ -498,6 +498,8 @@
case 'b': *bp++ = '\b'; break;
case 'f': *bp++ = '\f'; break;
case 'r': *bp++ = '\r'; break;
+ case 'v': *bp++ = '\v'; break;
+ case 'a': *bp++ = '\a'; break;
default:
if (!isdigit(c)) {
*bp++ = c;
Home |
Main Index |
Thread Index |
Old Index