mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
* src/getargs.c, src/getarg.h (skeleton)): Constify.
* src/lex.c (literalchar): Avoid name clashes on `buf'. * src/getargs.c: Include complain.h. * src/files.c, src/files.h (skeleton_find): Avoid name clashes. * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
/* Buffer for storing the current token. */
|
||||
struct obstack token_obstack;
|
||||
char *token_buffer = NULL;
|
||||
const char *token_buffer = NULL;
|
||||
|
||||
bucket *symval;
|
||||
int numval;
|
||||
@@ -234,10 +234,10 @@ literalchar (struct obstack *out, int *pcode, char term)
|
||||
}
|
||||
else
|
||||
{
|
||||
char buf [] = "c";
|
||||
buf[0] = c;
|
||||
char badchar [] = "c";
|
||||
badchar[0] = c;
|
||||
complain (_("unknown escape sequence: `\\' followed by `%s'"),
|
||||
quote (buf));
|
||||
quote (badchar));
|
||||
code = '?';
|
||||
}
|
||||
} /* has \ */
|
||||
|
||||
Reference in New Issue
Block a user