Module Name: src
Committed By: rillig
Date: Tue Apr 6 01:29:37 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/tests/lib/libcurses/director/testlang_parse.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libcurses/director/testlang_parse.y
diff -u src/tests/lib/libcurses/director/testlang_parse.y:1.51 src/tests/lib/libcurses/director/testlang_parse.y:1.52
--- src/tests/lib/libcurses/director/testlang_parse.y:1.51 Tue Apr 6 00:47:00 2021
+++ src/tests/lib/libcurses/director/testlang_parse.y Tue Apr 6 01:29:37 2021
@@ -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 <[email protected]>
@@ -82,9 +82,9 @@ static bool no_input; /* don't need more
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"
};