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: document the struct for declaratio...
details: https://anonhg.NetBSD.org/src/rev/bad85c92cea8
branches: trunk
changeset: 953763:bad85c92cea8
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Mar 20 13:00:43 2021 +0000
description:
lint: document the struct for declarations more precisely
No functional change.
diffstat:
usr.bin/xlint/lint1/lint1.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 29baaab6962f -r bad85c92cea8 usr.bin/xlint/lint1/lint1.h
--- a/usr.bin/xlint/lint1/lint1.h Sat Mar 20 11:33:50 2021 +0000
+++ b/usr.bin/xlint/lint1/lint1.h Sat Mar 20 13:00:43 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lint1.h,v 1.75 2021/03/19 08:21:26 rillig Exp $ */
+/* $NetBSD: lint1.h,v 1.76 2021/03/20 13:00:43 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -309,15 +309,15 @@
/*
* For nested declarations a stack exists, which holds all information
- * needed for the current level. dcs points to the top element of this
+ * needed for the current level. dcs points to the innermost element of this
* stack.
*
* d_ctx describes the context of the current declaration. Its value is
* one of
* EXTERN global declarations
* MOS or MOU declarations of struct or union members
- * CTCONST declarations of enums
- * ARG declaration of arguments in old style function
+ * CTCONST declarations of enums or boolean constants
+ * ARG declaration of arguments in old-style function
* definitions
* PROTO_ARG declaration of arguments in function prototypes
* AUTO declaration of local symbols
Home |
Main Index |
Thread Index |
Old Index