You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error but have no clue where to start debugging as my lbnf and subsequently the Par.y file is quite large. Is there a way to check where in the file is causing the error?
error "grammar does not fit in 16-bit representation that is used with '--ghc'"
The text was updated successfully, but these errors were encountered:
saw235
changed the title
How to debug error "grammar does not fit in 16-bit representation that is used with '--ghc'"?
Debugging "grammar does not fit in 16-bit representation that is used with '--ghc'"?
Aug 23, 2021
The reason for the error is that your parser has become so large that its action table cannot be addressed using 16 bit offsets. That is problematic because happy used to use hardcode its offsets to 16 bit. I opened #266 to mourn this and the recently merged #280 provides the fix.
TLDR; try building the most recent master of happy to see whether it fixes your bug.
Hi,
I am getting the following error but have no clue where to start debugging as my lbnf and subsequently the
Par.y
file is quite large. Is there a way to check where in the file is causing the error?The text was updated successfully, but these errors were encountered: