[issue35197] graminit.h defines very generic names like 'stmt' or 'test'
STINNER Victor
report at bugs.python.org
Fri Nov 9 09:08:58 EST 2018
STINNER Victor <vstinner at redhat.com> added the comment:
> Note: "static const int single_input = 305;" cause a complation error on "case single_input": "case label does not reduce to an integer constant".
Ah! A friend gave me another solution, define an enum. Example:
enum {
single_input = 256,
...
};
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35197>
_______________________________________
More information about the Python-bugs-list
mailing list