[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] {master} preserve token declaration order
From: |
Valentin Tolmer |
Subject: |
[PATCH 0/3] {master} preserve token declaration order |
Date: |
Fri, 25 Jan 2013 11:12:46 +0100 |
Hello,
My name is Valentin Tolmer, and I am currently doing an internship in the
LRDE, EPITA's research lab. I am working with Akim Demaille on bison.
This patch corrects a token declaration order issue : when declaring %token A
B, the token A gets correctly declared before B, but if the declaration has
associativity (ie %left A B for example), the tokens are declared in reversed
order (B before A).
Valentin Tolmer (3):
grammar: preserve token declaration order
regen
tests: added token declaration order test
NEWS | 6 +++++
src/parse-gram.c | 6 ++---
src/parse-gram.y | 6 ++---
src/symlist.c | 17 +++++++++++++
src/symlist.h | 3 +++
tests/conflicts.at | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/input.at | 8 +++----
7 files changed, 104 insertions(+), 10 deletions(-)
--
1.7.9.5
- [PATCH 0/3] {master} preserve token declaration order,
Valentin Tolmer <=