Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Problem with precedence declaration in .mly file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-31 (15:34)
From: Angela Zhu <angela.zhu@c...>
Subject: Re: [Caml-list] Problem with precedence declaration in .mly file
Thanks Thomas!
And thanks for all the help I got!
The problem is solved at this point.

Dept. of CS, Rice Unitersity

On Oct 31, 2007, at 10:16 AM, Thomas Gazagnaire wrote:

> Well, I think you have a problem in your grammar rules. Your are  
> defining the same PLUS, MINUS, STAR and DIVIDE rules in multiple  
> places in your code. Try to define them once, only in the "exp"  
> rule. Them, remove in the "exp" rule :