Implemented py_callback in C and error threshold
Added error threshold to avoid infinite loops in parserengine.runengine(). Cython generated crappy and unstable code for py_callback, so I implemented the py_callback method in C. This is easier to maintain and debug. This patch fixes The random segfault caused by Python's garbage collector.
Showing
src/c/bison_callback.c
0 → 100644
src/c/bison_callback.h
0 → 100644
Please register or sign in to comment