struct compiling {
char *c_encoding; /* source encoding */
PyArena *c_arena; /* arena for allocating memeory */
+ const char *c_filename; /* filename */
};
static asdl_seq *seq_for_testlist(struct compiling *, const node *);
c.c_encoding = NULL;
}
c.c_arena = arena;
+ c.c_filename = filename;
k = 0;
switch (TYPE(n)) {
if (Py_Py3kWarningFlag) {
if (PyErr_WarnExplicit(PyExc_DeprecationWarning,
"backquote not supported in 3.x",
- "<unknown>", LINENO(n),
+ c->c_filename, LINENO(n),
NULL, NULL)) {
return NULL;
}