bison-patches
[Top][All Lists]
Advanced

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

Re[2]: [PATCH 0/5] glr.cc: support syntax_error exceptions


From: Askar Safin
Subject: Re[2]: [PATCH 0/5] glr.cc: support syntax_error exceptions
Date: Thu, 03 Jan 2019 03:20:15 +0300

Hi. I tested 80ef7e7639f99618bee490b2dea02b5fd9ab28e5 and this commit really 
fixes bug I reported. But it seems the code is still buggy. I tested the same 
code (i. e. attachments from 
https://lists.gnu.org/archive/html/bison-patches/2019-01/msg00000.html ) and 
typed this:

    echo 2 + 2 % | ./a.out

And saw this:

    Invalid character: %
    4

And the program returned zero return status (i. e. parser reported to main 
function that it parsed successfully). But if I replace skeleton with LALR1, I 
get this:

    Invalid character: %

And I get non-zero return status

==
Askar Safin
http://vk.com/safinaskar

reply via email to

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