caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ceri Storey <cez@pkl.net>
To: caml-list@inria.fr
Subject: [Caml-list] Possible bug in the lexer?
Date: Fri, 10 Aug 2001 05:51:28 +0100	[thread overview]
Message-ID: <20010810055128.E83936@mandelbrot.house.pkl.net> (raw)

Hi,
I think I've discovered wierd bug in ocaml's lexer. it seems that in
ocaml 3.01, and 3.02, (and camlp4 original syntax) the following will not 
parse:
parser [< ' '"' >] -> ();;
but the following will:
parser [< ' (**) '"' >] -> ();;

As far as i can tell, the '"' is being interpreted as an apostrophe, and
then the beginning of a string containing an apostrophe. This is also 
the case for '\\' too. 

Thanks...
-- 
ceri storey <cez@pkl.net> http://pkl.net/~cez/
vi(1)! qmail(7)! pie(5)!
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


             reply	other threads:[~2001-08-10  4:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-10  4:51 Ceri Storey [this message]
2001-08-10  8:40 ` Daniel de Rauglaudre

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=20010810055128.E83936@mandelbrot.house.pkl.net \
    --to=cez@pkl.net \
    --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).