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
ocamlyacc and names of rules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oliver Bandel <oliver@f...>
Subject: ocamlyacc and names of rules

I have used the name "object" for a grammar rule in ocamlyacc.
This produced parse errors with OCaml 3.08.0 - is this a known
Or is it "correct" bahaviour, because it's an OCaml identifier ("object")?

I thought the grammar rules can be named indepenently of the
OCaml's reserved words.

Didn't tried rules named "let" or something...
...should be also impossible?!

   Oliver Bandel

The Laban Scale Document-Generator: