New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
camlp4 strings newlines from strings #3074
Comments
Comment author: administrator I've fixed it in the CVS. See the attached patch, if necessary. Thanks, -- Michel Mauny rich@annexia.org wrote/écrivait (Wed, Aug 18, 2004 at 10:36:52AM +0200):
--- camlp4/lib/plexer.ml.orig 2004-08-18 13:25:59.000000000 +0200 -(* $Id: plexer.ml,v 1.20.2.1 2004/06/30 13:05:31 mauny Exp $ ) open Stdpp;
|
Comment author: administrator fixed MM 2004-08-18 |
Comment author: administrator The commit to pa_o.ml that was supposed to fix #3074 have replaced the End result - macros are never expanded in patterns. :-( See -- Home Page: http://nogin.org/ |
Original bug ID: 3074
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Richard Jones
Version: 3.08
OS: Linux
Submission from: annexia.force9.co.uk (212.56.101.183)
Bug, with test case is described here:
http://caml.inria.fr/archives/200408/msg00300.html
It appears to be that camlp4 strips newline characters from strings. This
behaviour is different from basic ocaml, and means that files that parse
correctly with ocaml parse incorrectly when passed through camlp4.
This behaviour is also a regression over 3.07+02.
The text was updated successfully, but these errors were encountered: