BNFC / bnfc

BNF Converter
http://bnfc.digitalgrammars.com/
587 stars 165 forks source link

C skeleton uses incorrect function names #239

Closed justinmeiners closed 5 years ago

justinmeiners commented 6 years ago

The generating code does this: https://github.com/BNFC/bnfc/blob/master/source/src/BNFC/Backend/C/CFtoCSkel.hs#L85

But, the calling code does this: https://github.com/BNFC/bnfc/blob/master/source/src/BNFC/Backend/C/CFtoCSkel.hs#L245

These are not the same since the first uses islower on the tail. The result is an invalid skeleton.

andreasabel commented 5 years ago

Fixed in PR #238.