caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Serge Leblanc <serge.leblanc@orange.fr>
To: caml-list@yquem.inria.fr
Subject: DELETE_RULE arguments?
Date: Sun, 19 Jul 2009 14:34:50 +0200	[thread overview]
Message-ID: <1248006890.4590.166.camel@serge2> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 691 bytes --]

Hi,
In the following scenario, I would like to remove the first rule of
expr. But I can't find the good arguments for the command DELETE_RULE.

$ rlwrap ocaml -I +camlp4 -I +ulex 
# #load "camlp4rf.cma" ;;
# #load "pa_ulex.cma" ;
# open Camlp4.PreCast ;
# Gram.Entry.print Format.std_formatter Syntax.expr ;
# DELETE_RULE Gram Syntax.expr: "lexer"; OPT "|"; LIST0 [ regexp; "->";
expr ] SEP "|" END ; 
Unbound value regexp

Otherwise, is there a way to know if the active syntax, is the revised
or not?

Thank you.
--
Serge Leblanc
gpg --keyserver  hkp://keyserver.ubuntu.com:11371 --recv-keys 0x33243C1B
Fingerprint = 066C 005F 5595 D85C 7673  D969 1DD4 90C4 3324 3C1B

[-- Attachment #1.2: Type: text/html, Size: 1273 bytes --]

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

             reply	other threads:[~2009-07-19 12:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-19 12:34 Serge Leblanc [this message]
2009-07-21 22:35 ` [Caml-list] " Serge Leblanc
2009-07-22  7:26   ` blue storm
2009-07-22 12:54     ` Serge Leblanc
2009-07-22 10:03 ` blue storm

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=1248006890.4590.166.camel@serge2 \
    --to=serge.leblanc@orange.fr \
    --cc=caml-list@yquem.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).