bison-patches
[Top][All Lists]
Advanced

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

[PATCH 0/6] fix a missing context indent, and scan-skel rework


From: Theophile Ranquet
Subject: [PATCH 0/6] fix a missing context indent, and scan-skel rework
Date: Thu, 4 Oct 2012 10:35:39 +0000

The previous patches left a case where the context of an error message
was still unindented, and prefixed. This was because it came from an
m4 @complain, and required a bit of a rework of scan-skel.

This patch does the said rework, and addresses the issue. The code from
scan-skel has imho been made simpler, and more obvious, though, much
to my regret, not any shorter.

Theophile Ranquet (6):
  errors: pointerize complain_at_indent
  errors: factor b4_error @directives
  errors: support indented context info in m4 macros
  scan-skel.l: split @directive functions
  scan-skel.l: recognize the @directives directly in scanner
  scan-skel.l: change fail_for_invalid_at prototype

 TODO             |   4 --
 bootstrap.conf   |   2 +-
 data/bison.m4    |   4 +-
 src/complain.c   |  24 ++++-----
 src/complain.h   |   9 ++--
 src/muscle-tab.c |  22 ++++----
 src/reader.c     |  16 +++---
 src/scan-code.l  |  44 ++++++++--------
 src/scan-skel.l  | 151 +++++++++++++++++++++++++++++++------------------------
 src/symtab.c     |  24 ++++-----
 tests/input.at   |  12 ++---
 11 files changed, 164 insertions(+), 148 deletions(-)

-- 
1.7.11.4




reply via email to

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