Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14280

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: ./parse.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
Date 2018-06-27 08:57 -0400
Message-ID <mailman.2614.1530104235.1292.bug-bash@gnu.org> (permalink)
References <5260CA01-40C6-41A8-A858-760C84CB8FBB@gmail.com>

Show all headers | View raw


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    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: ./parse.y: warning: 1 shift/reduce conflict [-Wconflicts-sr] Chet Ramey <chet.ramey@case.edu> - 2018-06-27 08:57 -0400

csiph-web