Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/lint1 lint: add missing newlines to grammar de...



details:   https://anonhg.NetBSD.org/src/rev/22f9bb3f37ee
branches:  trunk
changeset: 1023038:22f9bb3f37ee
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Aug 21 07:03:30 2021 +0000

description:
lint: add missing newlines to grammar debug output

diffstat:

 usr.bin/xlint/lint1/cgram.y |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r de1d8ebc4607 -r 22f9bb3f37ee usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y       Fri Aug 20 20:25:26 2021 +0000
+++ b/usr.bin/xlint/lint1/cgram.y       Sat Aug 21 07:03:30 2021 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: cgram.y,v 1.356 2021/08/19 08:59:22 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.357 2021/08/21 07:03:30 rillig Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.356 2021/08/19 08:59:22 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.357 2021/08/21 07:03:30 rillig Exp $");
 #endif
 
 #include <limits.h>
@@ -382,11 +382,11 @@
 /* K&R ???, C90 ???, C99 6.4.2.1, C11 ??? */
 identifier:
          T_NAME {
-               debug_printf("cgram: name '%s'", $1->sb_name);
+               debug_step("cgram: name '%s'", $1->sb_name);
                $$ = $1;
          }
        | T_TYPENAME {
-               debug_printf("cgram: typename '%s'", $1->sb_name);
+               debug_step("cgram: typename '%s'", $1->sb_name);
                $$ = $1;
          }
        ;



Home | Main Index | Thread Index | Old Index