[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/5] glr.cc: support syntax_error exceptions
From: |
Akim Demaille |
Subject: |
Re: [PATCH 0/5] glr.cc: support syntax_error exceptions |
Date: |
Wed, 2 Jan 2019 12:12:01 +0100 |
Hey Askar,
> Le 2 janv. 2019 à 01:49, Askar Safin <address@hidden> a écrit :
>
> Also, I looked into generated .tab.cpp files and saw that LALR1 parser have
> "catch (...)" and GLR parser doesn't have "catch (...)". So, it seems GLR
> parser will support syntax_error exceptions only, but not all other
> exceptions (i. e. GLR parser will not rethrow non-syntax_error exceptions
> correctly, unlike LALR1 parser).
Your sentence is confusing. It seems you are saying that the other exceptions
will be blocked, which is of course not what is going to happen.
> And this is _very_ strange.
Less than this comment :)
> At least user should be warned about such very strange behavior in docs.
Contributions are most welcome. As always.