mkeeter / antimony

CAD from a parallel universe
2.12k stars 158 forks source link

Core dump when editing Math object #198

Open pjz opened 6 years ago

pjz commented 6 years ago

If while editing a math node you accidentally delete one of the single quotes, you get

antimony: /home/pj/src/antimony/lib/fab/src/tree/v2syntax.c:1126: unsigned int yy_find_shift_action(yyParser*, unsigned char): Assertion `iLookAhead < YYNTOKEN' failed.
Aborted (core dumped)

Which looks like it could be fixed with a bit of judicious error catching.

mkeeter commented 6 years ago

Oh boy, that looks like a problem in the generated parser. It's been a few years – @fros1y , any ideas?