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 tests/libcurses: fix names of o...



details:   https://anonhg.NetBSD.org/src/rev/92e89cbc1eb8
branches:  trunk
changeset: 961007:92e89cbc1eb8
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Apr 06 01:29:37 2021 +0000

description:
tests/libcurses: fix names of over-the-wire data types

The test 'mvscanw' reported that it would send '%s' as 'numeric', which
was rather suspicious.

diffstat:

 tests/lib/libcurses/director/testlang_parse.y |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 921b5fa81c1e -r 92e89cbc1eb8 tests/lib/libcurses/director/testlang_parse.y
--- a/tests/lib/libcurses/director/testlang_parse.y     Tue Apr 06 00:47:00 2021 +0000
+++ b/tests/lib/libcurses/director/testlang_parse.y     Tue Apr 06 01:29:37 2021 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: testlang_parse.y,v 1.51 2021/04/06 00:47:00 rillig Exp $       */
+/*     $NetBSD: testlang_parse.y,v 1.52 2021/04/06 01:29:37 rillig Exp $       */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -82,9 +82,9 @@
 static wchar_t *vals = NULL;   /* wchars to attach to a cchar type */
 static unsigned nvals;         /* number of wchars */
 
-const char *enum_names[] = {
-       "unused", "static", "numeric", "string", "byte", "cchar", "wchar", "ERR",
-       "OK", "NULL", "not NULL", "variable", "reference", "returns count",
+const char *enum_names[] = {   /* for data_enum_t */
+       "unused", "numeric", "static", "string", "byte", "cchar", "wchar", "ERR",
+       "OK", "NULL", "not NULL", "variable", "reference", "return count",
        "slave error"
 };
 



Home | Main Index | Thread Index | Old Index