We still have the problem that Sebastien gets a very fragile compiler while mine is rock solid. This patch set first fixes a build error introduced in the previous set - sorry about that ! - then adds more sanity checks, and finally removes a potential access to free'd memory.
What's surprising is that the latter access seems to have happened regularly in the parsers Sebastien generated while I never saw it. It would seem that my parsers simply don't call the destructors, even though we're using the same version of lemon. This may need more investigation. - Werner Werner Almesberger (3): compiler/compiler.h: include fpvm/fpvm.h for FPVM_MAXSYMLEN compiler: added sanity checks for scanner parser_helper.c: provide valid context with EOF; cleanup src/compiler/compiler.h | 2 ++ src/compiler/parser_helper.c | 24 ++++++++++++++++-------- src/compiler/scanner.re | 4 +++- src/compiler/test/codegen | 4 ++-- src/compiler/test/error | 4 ++-- src/compiler/test/location | 4 ++-- src/compiler/unique.c | 2 ++ 7 files changed, 29 insertions(+), 15 deletions(-) _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode
