diff options
author | Guido van Rossum <guido@python.org> | 1997-09-05 07:01:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-09-05 07:01:19 (GMT) |
commit | bd4435abcc272cab7f97bd483410fac5ab14cc5f (patch) | |
tree | 6cb4fdb32329b196c06da57af9b8593b72dfbbbd | |
parent | 8102c005e0deffa61ba30b6a58512925d5c6e416 (diff) | |
download | cpython-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.c | 8 |
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, |