caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oliver Bandel <oliver@first.in-berlin.de>
To: caml-list <caml-list@inria.fr>
Subject: ocamlyacc and names of rules
Date: Wed, 14 Sep 2005 23:56:17 +0200	[thread overview]
Message-ID: <20050914215617.GA558@first.in-berlin.de> (raw)

Hello,

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
bug?
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?!

Ciao,
   Oliver Bandel

-- 
The Laban Scale Document-Generator:
  http://me.in-berlin.de/~first/labscalgen-invoke.cgi


                 reply	other threads:[~2005-09-15  8:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050914215617.GA558@first.in-berlin.de \
    --to=oliver@first.in-berlin.de \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).