Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libcurses/director Add carriage return to the quot...
details: https://anonhg.NetBSD.org/src/rev/c78c36ef357b
branches: trunk
changeset: 791493:c78c36ef357b
user: blymn <blymn%NetBSD.org@localhost>
date: Thu Nov 21 11:06:04 2013 +0000
description:
Add carriage return to the quoted character list
diffstat:
tests/lib/libcurses/director/testlang_conf.l | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 90c487028e80 -r c78c36ef357b tests/lib/libcurses/director/testlang_conf.l
--- a/tests/lib/libcurses/director/testlang_conf.l Thu Nov 21 10:48:11 2013 +0000
+++ b/tests/lib/libcurses/director/testlang_conf.l Thu Nov 21 11:06:04 2013 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: testlang_conf.l,v 1.6 2011/10/07 13:39:33 joerg Exp $ */
+/* $NetBSD: testlang_conf.l,v 1.7 2013/11/21 11:06:04 blymn Exp $ */
/*-
* Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -103,6 +103,12 @@
p++;
break;
+ case 'r':
+ /* carriage return */
+ *q++ = '\r';
+ p++;
+ break;
+
case 't':
/* tab */
*q++ = '\t';
Home |
Main Index |
Thread Index |
Old Index