Prefer the word 'Invalid' or the phrase 'not allowed' over 'Illegal', as per the GNU coding standards, and as per the suggestion from Benno Schulenberg

This commit is contained in:
James Youngman 2005-11-29 07:21:41 +00:00
parent ceb1f0aef4
commit b070e1fff0
2 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@ static int describe_regex_syntax(int options)
if (options & RE_CONTEXT_INVALID_OPS)
{
content("are special at any point in a regular expression except the following places, where they are illegal:");
content("are special at any point in a regular expression except the following places, where they are not allowed:");
}
else
{

View File

@ -407,7 +407,7 @@ get_input_delimiter(const char *s)
else
{
error(1, 0,
_("Illegal input delimiter specification %s: the delimited must be either a single character or an escape sequence starting with \\."),
_("Invalid input delimiter specification %s: the delimited must be either a single character or an escape sequence starting with \\."),
s);
}
}