GPPG 1.5.2 hangs under VS2012 and in Command prompt with no messages

Sep 26, 2014 at 11:44 AM

I was using grammars working with old Mortice Kern Systems in C. I have translated one project in C# with GPLEX/GPPG , and it's all working, thanks a lot!

But with my second project, I don't know what happens GPLEX is OK, but GPPG goes to 100% CPU and nothing happens.

GPPG /no-lines /verbose /report o3.y > o3.cs

you can load o3.y

if somebody could help me, it will be great, because I don't know where to search, something has to be wrong but ...

Sep 28, 2014 at 2:08 AM
I shall have a look at it, and let you know what I find.
Sep 28, 2014 at 12:14 PM
The issue is caused by erroneous input. There is a bug in the GPPG's scanner (created by GPLEX). If it finds an extra "%%" at the end of the optional epilog the scanner loops. I will fix this bug in the next refresh.
Sorry to users for the lack of proper error diagnosis in this case.
Sep 28, 2014 at 12:26 PM
Hi John,

Thank you very much for this quick answer, evrything is running fine now.