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


Groups > gnu.bash.bug > #14280 > unrolled thread

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

Started byChet Ramey <chet.ramey@case.edu>
First post2018-06-27 08:57 -0400
Last post2018-06-27 08:57 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromChet Ramey <chet.ramey@case.edu>
Date2018-06-27 08:57 -0400
SubjectRe: ./parse.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
Message-ID<mailman.2614.1530104235.1292.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web