bison-flex-cpp-example icon indicating copy to clipboard operation
bison-flex-cpp-example copied to clipboard

Fix deprecated call

Open timburgess opened this issue 4 years ago • 0 comments

This fixes a deprecation I was seeing with Bison 3.4.1, the current version that ships in Ubuntu

parser.y:32.1-36: warning: deprecated directive, use ‘%define api.parser.class { Parser }’ [-Wdeprecated]
   32 | %define parser_class_name { Parser }
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]

timburgess avatar Oct 28 '19 19:10 timburgess