caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Possible bug in the lexer?
@ 2001-08-10  4:51 Ceri Storey
  2001-08-10  8:40 ` Daniel de Rauglaudre
  0 siblings, 1 reply; 2+ messages in thread
From: Ceri Storey @ 2001-08-10  4:51 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-10  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-10  4:51 [Caml-list] Possible bug in the lexer? Ceri Storey
2001-08-10  8:40 ` Daniel de Rauglaudre

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).