Module Name:    src
Committed By:   uwe
Date:           Sun Jul 26 22:40:52 UTC 2020

Modified Files:
        src/usr.bin/config: gram.y

Log Message:
Add debug output for ENDDEFS.

This makes it more clear in the debug output where config switched
from definitions to selections.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/usr.bin/config/gram.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/config/gram.y
diff -u src/usr.bin/config/gram.y:1.55 src/usr.bin/config/gram.y:1.56
--- src/usr.bin/config/gram.y:1.55	Sat Mar  7 19:26:13 2020
+++ src/usr.bin/config/gram.y	Sun Jul 26 22:40:52 2020
@@ -1,5 +1,5 @@
 %{
-/*	$NetBSD: gram.y,v 1.55 2020/03/07 19:26:13 christos Exp $	*/
+/*	$NetBSD: gram.y,v 1.56 2020/07/26 22:40:52 uwe Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: gram.y,v 1.55 2020/03/07 19:26:13 christos Exp $");
+__RCSID("$NetBSD: gram.y,v 1.56 2020/07/26 22:40:52 uwe Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -306,7 +306,11 @@ no:
 
 /* Complete definition part: the contents of all files.* files. */
 definition_part:
-	definitions ENDDEFS		{ check_maxpart(); check_version(); }
+	definitions ENDDEFS		{
+		CFGDBG(1, "ENDDEFS");
+		check_maxpart();
+		check_version();
+	}
 ;
 
 /* Zero or more definitions. Trap errors. */

Reply via email to