Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


On Mon, Sep 22, 2014 at 08:38:48AM -0500, Norbert Thiebaud wrote:
On Mon, Sep 22, 2014 at 3:07 AM, Stephan Bergmann <sbergman@redhat.com> wrote:
On 09/21/2014 08:29 AM, julien2412 wrote:

/home/julien/compile-libreoffice/libreoffice/connectivity/source/parse/sqlbison.y:
warning: 13 shift/reduce conflicts [-Wconflicts-sr]

/home/julien/compile-libreoffice/libreoffice/connectivity/source/parse/sqlbison.y:
warning: 15 reduce/reduce conflicts [-Wconflicts-rr]

[...]

What about reduce and shift conflicts, any bison expert here?

Shift/reduce and (for GLR parsers, which that sqlbison.y is) reduce/reduce
conflicts are somewhat common and expected, so there's even %expect and
%expect-rr declarations that specify the number of expected sift/reduce and
reduce/reduce conflicts, respectively, and Bison will then only warn if the
numbers are wrong.  Though, of course, somebody familiar with that
sqlbison.y should probably have a look before blindly adding such
declarations to silence the warnings.

yeah.. I advise _not_ hiding these. at this point it is highly
unlikely that these be all 'legitimate'

Indeed; our SQL parser is not in the best of states.

-- 
Lionel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.