[issue35197] graminit.h defines very generic names like 'stmt' or 'test'

STINNER Victor report at bugs.python.org
Fri Nov 9 09:10:35 EST 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Current workaround in ast.c:

/* This is done here, so defines like "test" don't interfere with AST use above. */
#include "grammar.h"
#include "parsetok.h"
#include "graminit.h"

This code is in the "middle" of ast.c.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35197>
_______________________________________


More information about the Python-bugs-list mailing list