glr.cc: don't "leak" yyparse
commita700a138228ed0d94bbfcf4feeb90093d2fbeca9
authorAkim Demaille <akim.demaille@gmail.com>
Sat, 5 Dec 2020 05:49:48 +0000 (5 06:49 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Sat, 23 Jan 2021 08:37:05 +0000 (23 09:37 +0100)
treecc54c4d31d3aeb6108becffe2b8f0bfd15471a16
parent1d3df34671ad4f0f60fef87558c6eb87b572eb14
glr.cc: don't "leak" yyparse

When using glr.cc, the C function yyparse is an internal detail that
should not be exposed.  Users might call it by accident (I did).

* data/skeletons/glr.c (yyparse): When used for glr.cc, rename as yy_parse_impl.
* data/skeletons/glr.cc: Adjust.
data/skeletons/glr.c
data/skeletons/glr.cc