bison-patches
[Top][All Lists]
Advanced

[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




reply via email to

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