mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
maint: use STREQ/STRNEQ.
* doc/bison.texinfo: Space change. * src/system.h (STREQ, STRNEQ): New. * src/files.c, src/ielr.c, src/lalr.c, src/muscle-tab.c, * src/output.c, src/print.c, src/print_graph.c, * src/reader.c, src/scan-skel.l, src/tables.c, * src/uniqstr.c: Use them. * src/scan-gram.l: Do not use streq.h, use system.h's STREQ. * cfg.mk: The documentation is an exception.
This commit is contained in:
@@ -309,7 +309,7 @@ action_row (state *s)
|
||||
{
|
||||
char *default_reductions =
|
||||
muscle_percent_define_get ("lr.default-reductions");
|
||||
if (0 != strcmp (default_reductions, "most") && !s->consistent)
|
||||
if (STRNEQ (default_reductions, "most") && !s->consistent)
|
||||
nodefault = true;
|
||||
free (default_reductions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user