mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
Merge branch 'maint'
* origin/maint: maint: post-release administrivia version 2.6.2 NEWS: update. yacc: remove trailing end of line at end of file thanks: fix a contributor name gnulib: update tests: synch line -> syncline, for consistency tests: synclines: style changes tests: synclines: fix perl invocation regen c++: trailing end-of-lines in %parse-param tests: simplify Conflicts: cfg.mk data/glr.cc data/yacc.c src/parse-gram.c src/parse-gram.h src/parse-gram.y
This commit is contained in:
@@ -775,11 +775,13 @@ add_param (param_type type, char *decl, location loc)
|
||||
|
||||
/* Strip the surrounding '{' and '}', and any blanks just inside
|
||||
the braces. */
|
||||
while (*--p == ' ' || *p == '\t')
|
||||
continue;
|
||||
--p;
|
||||
while (isspace ((unsigned char) *p))
|
||||
--p;
|
||||
p[1] = '\0';
|
||||
while (*++decl == ' ' || *decl == '\t')
|
||||
continue;
|
||||
++decl;
|
||||
while (isspace ((unsigned char) *decl))
|
||||
++decl;
|
||||
}
|
||||
|
||||
if (! name_start)
|
||||
|
||||
Reference in New Issue
Block a user