Open GoogleCodeExporter opened 8 years ago
[deleted comment]
[deleted comment]
This crash happens at the same line of code as bug #190 and for the same
reason: pc->InteractiveCurrentLine is null. It's another re-entrancy issue.
This time, while executing printArray(), picoc is re-evaluating the #define.
This, of course, is not how a compiler would handle a preprocessor statement.
It's also bad style to put a #define inside a function, but it's legal C.
Original comment by goo...@LoadAccumulator.com
on 5 Aug 2015 at 2:42
Although this crash is similar to bug #190, the fix that worked for 190
(preserving the lexer state) needs to be applied at a different line of code.
I'm not sure exactly where, but it's somewhere in the call stack for the crash.
Original comment by goo...@LoadAccumulator.com
on 17 Aug 2015 at 3:11
Original issue reported on code.google.com by
m...@heilpern.com
on 3 Mar 2014 at 9:31