#define GLOBAL_AFTER_USE \
"name '%.400s' is used prior to global declaration"
-#define LOCAL_GLOBAL \
+#define PARAM_GLOBAL \
"name '%.400s' is a function parameter and declared global"
#define LATE_FUTURE \
c->c_argcount--;
else if (flags & DEF_GLOBAL) {
if (flags & DEF_PARAM) {
- PyErr_Format(PyExc_SyntaxError, LOCAL_GLOBAL,
+ PyErr_Format(PyExc_SyntaxError, PARAM_GLOBAL,
PyString_AS_STRING(name));
symtable_error(st, 0);
goto fail;
if (flags && flags != DEF_GLOBAL) {
char buf[500];
if (flags & DEF_PARAM) {
- PyErr_Format(PyExc_SyntaxError,
- "name '%.400s' is local and global",
+ PyErr_Format(PyExc_SyntaxError, PARAM_GLOBAL,
name);
symtable_error(st, 0);
return;