• Sander Mathijs van Veen's avatar
    Implemented py_callback in C and error threshold · 45ab5b85
    Sander Mathijs van Veen authored
    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.
    45ab5b85
bison_callback.h 111 Bytes