[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/5] glr.cc: support syntax_error exceptions
From: |
Askar Safin |
Subject: |
Re: [PATCH 0/5] glr.cc: support syntax_error exceptions |
Date: |
Wed, 02 Jan 2019 03:49:27 +0300 |
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). And this is _very_ strange. At least user should be
warned about such very strange behavior in docs.
==
Askar Safin
http://vk.com/safinaskar
- Re: [PATCH 0/5] glr.cc: support syntax_error exceptions,
Askar Safin <=