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: remove unused ...



details:   https://anonhg.NetBSD.org/src/rev/f008d2448ba5
branches:  trunk
changeset: 959337:f008d2448ba5
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Feb 08 19:09:59 2021 +0000

description:
tests/libcurses: remove unused token DRAIN

There is a special function named 'DRAIN', but not a statement.  The
function name does not need its own token.

diffstat:

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

diffs (19 lines):

diff -r be09457ae104 -r f008d2448ba5 tests/lib/libcurses/director/testlang_parse.y
--- a/tests/lib/libcurses/director/testlang_parse.y     Mon Feb 08 19:04:37 2021 +0000
+++ b/tests/lib/libcurses/director/testlang_parse.y     Mon Feb 08 19:09:59 2021 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: testlang_parse.y,v 1.34 2021/02/07 21:33:27 rillig Exp $       */
+/*     $NetBSD: testlang_parse.y,v 1.35 2021/02/08 19:09:59 rillig Exp $       */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -191,7 +191,7 @@
 %token <string> WCHAR
 %token EOL CALL CHECK NOINPUT OR MULTIPLIER LPAREN RPAREN LBRACK RBRACK
 %token COMMA
-%token CALL2 CALL3 CALL4 DRAIN
+%token CALL2 CALL3 CALL4
 
 %nonassoc OR
 



Home | Main Index | Thread Index | Old Index