glr2.cc: use YYCDEBUG, not YY_DEBUG_STREAM

* data/skeletons/glr2.cc (YY_DEBUG_STREAM): Rename as...
(YYCDEBUG): this, as in lalr1.cc.
This commit is contained in:
Akim Demaille
2020-12-26 09:44:09 +01:00
parent b9a533d63e
commit 9466c734c5
2 changed files with 38 additions and 39 deletions

1
TODO
View File

@@ -200,7 +200,6 @@ not yyGLRStack.
*** yydebug
It should be a member of the parser object, see lalr1.cc. Let the parser
object decide what the debug stream is, rather than open coding std::cerr.
And use YYCDEBUG rather than YY_DEBUG_STREAM.
*** Avoid pointers
There are many places where pointers should be replaced with references.