Files
bison/data/skeletons
Akim Demaille 08f657f4a4 glr2.cc: fix calling conventions for yyexpandGLRStackIfNeeded
This test fails:

748: Incorrect lookahead during nondeterministic GLR: glr2.cc

It consumes lots of stack space, so at some point we need to expand
it.  Because of Boolean logic mistakes, we then claim
memory-exhausted (first error).  Hence we jump to cleaning the
stack (popall_), calling all the destructors, and at some point we
crash with heap-use-after-free (second error).

This commit fixes the first error.  Unfortunately, even though we now
do expand the stack, we crash again with (another)
heap-use-after-free, not addressed here.

Eventually, we should make sure popall_() properly works.

* data/skeletons/glr2.cc (yyexpandGLRStackIfNeeded): Return true iff
success (i.e., memory not exhausted).
2020-12-20 14:54:46 +01:00
..
2020-05-21 20:14:59 +02:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-12-03 06:19:17 +01:00
2020-01-10 19:16:23 +01:00
2020-12-20 14:54:46 +01:00
2020-12-05 07:36:01 +01:00
2020-01-10 19:16:23 +01:00
2020-12-03 06:19:17 +01:00
2020-11-13 07:01:19 +01:00
2020-04-13 16:49:54 +02:00
2020-11-13 07:01:19 +01:00
2020-11-13 07:01:19 +01:00