Browse thread
Problem with precedence declaration in .mly file
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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. Regards, Angela ------------------------------------------ Dept. of CS, Rice Unitersity http://www.cs.rice.edu/~yz2/ ------------------------------------------ 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 :