bug-bash
[Top][All Lists]
Advanced

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

Re: ./parse.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]


From: Chet Ramey
Subject: Re: ./parse.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
Date: Wed, 27 Jun 2018 08:57:09 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 6/27/18 6:59 AM, Piotr Grzybowski wrote:

> +function_newline_list: '(' ')' | function_newline_list '\n'
> +       ;
> +

This would appear to allow constructs like

foo()
() ()
{
        function body
}


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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