[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/5] {maint} Stray $ and @ in symbol actions
From: |
Akim Demaille |
Subject: |
[PATCH 0/5] {maint} Stray $ and @ in symbol actions |
Date: |
Fri, 27 Jul 2012 17:13:30 +0200 |
I am still factoring the handling of $ and @ in symbol actions,
to make them more alike what they are in rule actions.
Weirdly enough:
%%
exp: 'a' { $; }
%%
$
triggers a warning for the first $, in the rule, and a hard-error
for the last one. I don't think bison should pay any attention to
what is in the epilogue, and certainly not by making errors.
Agreed?
Akim Demaille (5):
style changes in the scanners
news: schedule the removal of the ";" hack
factor the handling of m4 escaping
printer/destructor: translate only once
regen
NEWS | 18 ++++++
src/parse-gram.c | 166 +++++++++++++++++++++++++++++--------------------------
src/parse-gram.h | 2 +-
src/parse-gram.y | 26 ++++++---
src/scan-code.h | 5 +-
src/scan-code.l | 70 +++++++++--------------
src/scan-skel.l | 40 +++++++-------
src/symlist.c | 26 ++++-----
src/symlist.h | 8 +--
tests/input.at | 33 +++++++++++
10 files changed, 224 insertions(+), 170 deletions(-)
--
1.7.11.3
- [PATCH 0/5] {maint} Stray $ and @ in symbol actions,
Akim Demaille <=
- [PATCH 2/5] news: schedule the removal of the ";" hack, Akim Demaille, 2012/07/27
- [PATCH 3/5] factor the handling of m4 escaping, Akim Demaille, 2012/07/27
- [PATCH 1/5] style changes in the scanners, Akim Demaille, 2012/07/27
- [PATCH 4/5] printer/destructor: translate only once, Akim Demaille, 2012/07/27
- [PATCH 5/5] regen, Akim Demaille, 2012/07/27