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: refer to documentation about the '...
details: https://anonhg.NetBSD.org/src/rev/d330506459b2
branches: trunk
changeset: 984382:d330506459b2
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Jul 05 19:59:10 2021 +0000
description:
lint: refer to documentation about the 'notype' rules in the grammar
diffstat:
usr.bin/xlint/lint1/cgram.y | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 5a535dc62bf2 -r d330506459b2 usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y Mon Jul 05 19:55:51 2021 +0000
+++ b/usr.bin/xlint/lint1/cgram.y Mon Jul 05 19:59:10 2021 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cgram.y,v 1.251 2021/07/05 19:53:43 rillig Exp $ */
+/* $NetBSD: cgram.y,v 1.252 2021/07/05 19:59:10 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.251 2021/07/05 19:53:43 rillig Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.252 2021/07/05 19:59:10 rillig Exp $");
#endif
#include <limits.h>
@@ -1026,6 +1026,7 @@
| type_init_decls T_COMMA type_init_decl
;
+/* See the Bison manual, section 7.1 "Semantic Info in Token Kinds". */
notype_init_decl:
notype_decl asm_or_symbolrename_opt {
cgram_declare($1, false, $2);
Home |
Main Index |
Thread Index |
Old Index