Don't use ANSI string literal concatenation (everything is K&R compatible).

This commit is contained in:
Guido van Rossum 1997-09-05 07:01:19 +00:00
parent 8102c005e0
commit bd4435abcc
1 changed files with 4 additions and 4 deletions

View File

@ -608,8 +608,8 @@ reop_expand_escape(self, args)
/* 2-digit form, so it's a memory reference */
if (context==CHARCLASS)
{
PyErr_SetString(ReopError, "cannot reference a register "
"from inside a character class");
PyErr_SetString(ReopError,
"cannot reference a register from inside a character class");
return NULL;
}
value= 10*(pattern[index ]-'0') +
@ -628,8 +628,8 @@ reop_expand_escape(self, args)
/* Single-digit form, like \2, so it's a memory reference */
if (context==CHARCLASS)
{
PyErr_SetString(ReopError, "cannot reference a register "
"from inside a character class");
PyErr_SetString(ReopError,
"cannot reference a register from inside a character class");
return NULL;
}
return Py_BuildValue("iii", MEMORY_REFERENCE,