On Fri, 18 Oct 2024 10:19:52 +0200
Basile STARYNKEVITCH <bas...@starynkevitch.net> wrote:

> But I am unable to build that modified bison-refpersys on my Debian
> laptop?

I'm puzzled, because on the surface your question seems simple, and
completely within your capability.  Is the following correct? 

1.  You did: 
        git clone -b maint https://git.savannah.gnu.org/git/bison.git
2.  That built, unmodified
3.  You added PRINT_FROM_COMMENT and OBSTACK_PRINT_FROM_COMMENT, which
did not previously exist. 
4.  You added uses of those macros, and now Bison doesn't build.  

Your macros look OK to me (as I'm sure they do to you).  

If you define them as empty, does the build work?  It should, because
invoking an empty macro produces (as you know) no code for the
compiler. If it doesn't, then it's time to go back to square one, and
start again.  

If it doesn't build only with the macro body as-is, what
is the message?  

--jkl

Reply via email to