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: remove redundant associativity dec...
details: https://anonhg.NetBSD.org/src/rev/81892b4bb152
branches: trunk
changeset: 984866:81892b4bb152
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Jul 26 17:15:24 2021 +0000
description:
lint: remove redundant associativity declarations
Since cgram.y 1.325 from 2021-07-15, these are not needed anymore.
Strangely, neither yacc nor Bison warned about this redundancy.
No functional change, the grammar rules are the same as before.
diffstat:
usr.bin/xlint/lint1/cgram.y | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r ae96ad763831 -r 81892b4bb152 usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y Mon Jul 26 17:09:46 2021 +0000
+++ b/usr.bin/xlint/lint1/cgram.y Mon Jul 26 17:15:24 2021 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cgram.y,v 1.346 2021/07/25 21:31:01 rillig Exp $ */
+/* $NetBSD: cgram.y,v 1.347 2021/07/26 17:15:24 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.346 2021/07/25 21:31:01 rillig Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.347 2021/07/26 17:15:24 rillig Exp $");
#endif
#include <limits.h>
@@ -260,8 +260,6 @@
%left T_THEN
%left T_ELSE
-%left T_COMMA
-%right T_ASSIGN T_OPASSIGN
%right T_QUEST T_COLON
%left T_LOGOR
%left T_LOGAND
Home |
Main Index |
Thread Index |
Old Index