haskell / happy

The Happy parser generator for Haskell
Other
276 stars 84 forks source link

`--info`/`--pretty` work despite bad `%expect` #151

Closed harpocrates closed 4 years ago

harpocrates commented 4 years ago

When my grammar fails %expect, I almost always debug with --info. However, that doesn't work either until I first comment out the %expect.

Now it will: we postpone the %expect check until after the --info and --pretty information has been written out.

Fixes #121