]> git.saurik.com Git - bison.git/commit
syncline: one line is enough
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 28 Dec 2012 10:25:02 +0000 (11:25 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 28 Dec 2012 10:37:22 +0000 (11:37 +0100)
commitd2e3c807dce62e70b2ccdaa86c8190b2661a45b4
tree3c4bbb8b7b07aa01ce652a24ea5de6de6ed07929
parent258b45c86bce1cf01c7d732016ea7cc596fdded9
syncline: one line is enough

So far we were issuing two lines for each syncline change:

  /* Line 356 of yacc.c  */
  #line 1 "src/parse-gram.y"

This is a lot of clutter, especially when reading diffs, as these
lines change often.  Fuse them into a single, shorter, line:

  #line 1 "src/parse-gram.y" /* yacc.c:356  */

* data/bison.m4 (b4_syncline): Issue a single line.
Comment improvements.
(b4_sync_start, b4_sync_end): Issue a shorter comment.
* data/c++.m4 (b4_semantic_type_declare): b4_user_code must be
on its own line as it might start with a "#line" directive.
data/bison.m4
data/c++.m4