UpstandingHackers / hammer

Parser combinators for binary formats, in C. Yes, in C. What? Don't look at me like that.
GNU General Public License v2.0
430 stars 40 forks source link

Fix two context-free backend bugs #144

Closed pesco closed 8 years ago

pesco commented 8 years ago

The LALR backend had an unhandled case in its table generation and the CFG desugaring over-flattened the result of h_many. See the included regression tests for examples.

pesco commented 8 years ago

FWIW, I don't know what issue AppVeyor has. It says things like

Cannot open include file: 'stdio.h': No such file or directory

I have a feeling that's not something caused by my changes.

abiggerhammer commented 8 years ago

Yeah, appveyor is for the Windows build, which isn't entirely working yet. Thanks for the fix.