Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlyacc -- can i tell it to be quiet?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] ocamlyacc -- can i tell it to be quiet?
On Sat, 2005-11-19 at 01:08 +1100, skaller wrote:
> The following leads to shift reduce conflict:
> 
> ctype_name:
>   | LONG LONG 
>   | LONG 
> 
> Yacc is very weird -- I can parse a list of LONG without
> a conflict .. but not two of them?? 

Oopps, sorry, another case of find the bug immediately after
posting .. lol .. the conflict is not in the above productions, 
but only in combination with another production
which is effectively:

name: ctype_name

application:
  | name name
  | name

so of course there is a real conflict .. 

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net