help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exception safety of generated C++ parser


From: Oleksii Taran
Subject: Exception safety of generated C++ parser
Date: Thu, 13 Sep 2012 18:54:00 +0300
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

Hello

Does Bison guarantees exception safety in C++ parser, i.e. will it make
any clean-up and free memory if an exception is thrown on rule action? I
know about %destructor directive, but it seems irrelevant, since
destructor code is called only if parser recovers from _syntax_ error.

-- 
Best regards,
Oleksii Taran




reply via email to

[Prev in Thread] Current Thread [Next in Thread]