Hi Christoph, > Le 19 janv. 2021 à 08:27, Christoph Grüninger <f...@grueninger.de> a écrit :
>> 3. I removed the lines 1717 and 1745 as the label yyerrlab1 must be defined. >> Could you please clarify what you are doing here, and why? > > The lines contained an #if 0 / #endif that hid the label "yyerrlab1:" from > the compiler. When compiling it the compiler complained that in line 1362 > "goto yyerrlab1;" used an undefined label. That's also described in the first > line of the .y file. > Could handle this differently? I don't see that #if 0. Maybe that was a bug with Bison 3.4.2, but with 3.7.4 I do not have that. Do you really have that problem? The user is not expected to edit the generated code, it is expected to work out of the box...