bison-patches
[Top][All Lists]
Advanced

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

[PATCH 0/2] {master} Associativity warning


From: Valentin Tolmer
Subject: [PATCH 0/2] {master} Associativity warning
Date: Wed, 30 Jan 2013 10:26:52 +0100

Used associativity for symbols is recorded, and symbols with useless
associativity are reported to the user.  This warning complements the useless
precedence one, as tokens with associativity are never reported as having
useless priority.  Reported token can safely be declared with %precedence
withtout changing the parsing tables.


Valentin Tolmer (2):
  parsing: record used associativity and print useless ones
  tests: New associativity warning test, and testsuite sanitizing

 src/conflicts.c     |    3 ++
 src/main.c          |    2 +
 src/symtab.c        |   64 ++++++++++++++++++++++++
 src/symtab.h        |    8 +++
 tests/conflicts.at  |   43 ++++++++++++++++
 tests/existing.at   |  137 +++++++++++++++++++++++++++++++++++++++++++++++++--
 tests/java.at       |    6 +--
 tests/regression.at |    6 ++-
 8 files changed, 261 insertions(+), 8 deletions(-)

--
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]