summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-01-27 16:44:56 +0100
committerAkim Demaille <akim.demaille@gmail.com>2019-01-27 16:44:56 +0100
commit0d472b29ec0bd099a7abf0d83b8095a225896b1f (patch)
tree5630a507b8f761c481bdfe24ae50a244742b7c1a /src
parent21a7fa8063171de5afae1caae506b0e0b10a5824 (diff)
parent7a21067bb92fc1e568ccb3a791924f828d2763cd (diff)
downloadbison-0d472b29ec0bd099a7abf0d83b8095a225896b1f.tar.gz
Merge branch 'maint'
* maint: maint: post-release administrivia version 3.3.1 yacc: issue warnings, not errors, for Bison extensions style: formatting changes in NEWS and complain.c tests: don't depend on the user's definition of SHELL
Diffstat (limited to 'src')
-rw-r--r--src/complain.c6
-rw-r--r--src/getargs.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/complain.c b/src/complain.c
index a4ab0a1f..50f65af5 100644
--- a/src/complain.c
+++ b/src/complain.c
@@ -421,8 +421,10 @@ duplicate_rule_directive (char const *directive,
location first, location second)
{
unsigned i = 0;
- complain_indent (&second, complaint, &i, _("only one %s allowed per rule"), directive);
+ complain_indent (&second, complaint, &i,
+ _("only one %s allowed per rule"), directive);
i += SUB_INDENT;
- complain_indent (&first, complaint, &i, _("previous declaration"));
+ complain_indent (&first, complaint, &i,
+ _("previous declaration"));
fixits_register (&second, "");
}
diff --git a/src/getargs.c b/src/getargs.c
index 4c411583..973d0f69 100644
--- a/src/getargs.c
+++ b/src/getargs.c
@@ -708,7 +708,7 @@ getargs (int argc, char *argv[])
break;
case 'y':
- warning_argmatch ("error=yacc", 0, 6);
+ warning_argmatch ("yacc", 0, 0);
yacc_loc = command_line_location ();
break;