paul-j-lucas / cdecl

Composing and deciphering C (or C++) declarations or casts, aka ‘‘gibberish.’’
GNU General Public License v3.0
90 stars 11 forks source link

bison 3.3.2 #30

Closed polluks closed 1 year ago

polluks commented 1 year ago

Please check the minimum required version of bison


$ make
/bin/bash ../ylwrap parser.y y.tab.c parser.c y.tab.h `echo parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output parser.output -- bison -o y.tab.c -d
/home/stefan/g/cdecl/src/parser.y:29.1-41: error: %define variable 'api.header.include' is not used
 %define api.header.include { "parser.h" }
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:1855: parser.c] Error 1
paul-j-lucas commented 1 year ago

Simpler just to remove the %define: 255133ace878109826cc0c8cab13a6e2a7fdee9e.