bison icon indicating copy to clipboard operation
bison copied to clipboard

Broken for D parsers: %code lexer {

Open ledaniel2 opened this issue 3 years ago • 0 comments

The use of %code lexer { in the grammar file is to be broken for %language "D". For file bison/data/skeletons/lalr1.d at line 272, changing implements to : seems to be all that is needed to fix this issue (from limited testing).

It's great to see D support in bison, and I hope it will continue to be developed/extended.

ledaniel2 avatar Jan 23 '22 10:01 ledaniel2