it also matches the one from bash's builtin test.
(binary_operator): Add \n at end of diagnostic.
static void
integer_expected_error (char const *pch)
{
- test_syntax_error (_("integer expression expected %s\n"), pch);
+ test_syntax_error (_("%s: integer expression expected\n"), pch);
}
/* Return nonzero if the characters pointed to by STRING constitute a
}
break;
}
- test_syntax_error (_("unknown binary operator"), argv[op]);
+
+ /* FIXME: is this dead code? */
+ test_syntax_error (_("unknown binary operator\n"), argv[op]);
}
if (argv[op][0] == '=' && !argv[op][1])