Re: custom error reporting with c++

2025-01-09 Thread r0ller
eck Dátum: 2025 január 9 13:29:19Tárgy: Re: custom error reporting with c++Címzett: help-bison@gnu.orgOn Wednesday, January 8, 2025 2:20:37 PM CET r0ller wrote: > Hi All,I'm trying to make use of custom error reporting and define the > function yyreport_syntax_error() in the e

Re: custom error reporting with c++

2025-01-09 Thread Christian Schoenebeck
On Wednesday, January 8, 2025 2:20:37 PM CET r0ller wrote: > Hi All,I'm trying to make use of custom error reporting and define the > function yyreport_syntax_error() in the epilogue based on the documentation > at https://www.gnu.org/software/bison/manual/html_node/Syntax-Error-> > Reporting-Func

custom error reporting with c++

2025-01-08 Thread r0ller
Hi All,I'm trying to make use of custom error reporting and define the function yyreport_syntax_error() in the epilogue based on the documentation at https://www.gnu.org/software/bison/manual/html_node/Syntax-Error-Reporting-Function.htmlHowever, if I use '%language "c++"' then I get an error li