apoch / epoch-language

Home of the Epoch Programming Language Project
Other
72 stars 3 forks source link

Some parser exceptions are not caught correctly #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Certain exceptions wrapped by SemanticActions::Throw() are not caught by any 
matching guards in the grammar; standard catch filters do not work since the 
derived type of a generic exception is a boost wrapper and not the 
RecoverableException expected. Modify the exception handling of the 
parser/grammar setup to handle all exceptions correctly.

Original issue reported on code.google.com by don.ap...@gmail.com on 24 Dec 2010 at 4:21

GoogleCodeExporter commented 9 years ago
Exception guards have been added to make things a bit more robust. There is 
still plenty of room for improvement in the compiler's error recovery, however.

Original comment by don.ap...@gmail.com on 30 Dec 2010 at 3:11