summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-05 07:01:19 (GMT)
committerGuido van Rossum <guido@python.org>1997-09-05 07:01:19 (GMT)
commitbd4435abcc272cab7f97bd483410fac5ab14cc5f (patch)
tree6cb4fdb32329b196c06da57af9b8593b72dfbbbd
parent8102c005e0deffa61ba30b6a58512925d5c6e416 (diff)
downloadcpython-bd4435abcc272cab7f97bd483410fac5ab14cc5f.zip
cpython-bd4435abcc272cab7f97bd483410fac5ab14cc5f.tar.gz
cpython-bd4435abcc272cab7f97bd483410fac5ab14cc5f.tar.bz2
Don't use ANSI string literal concatenation (everything is K&R compatible).
-rw-r--r--Modules/reopmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/reopmodule.c b/Modules/reopmodule.c
index 9473191..de5c63d 100644
--- a/Modules/reopmodule.c
+++ b/Modules/reopmodule.c
@@ -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,