English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2005-09-15 (08:43)
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: