Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005646OCamlCamlp4public2012-06-12 17:032012-06-12 22:38
Reporterhongboz 
Assigned Todim 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version4.00.0+dev 
Summary0005646: Camlp4 Printer for escaped string
DescriptionA minimal example:

module RPrinters = Camlp4.Printers.OCamlr.Make Camlp4.PreCast.Syntax;
value opr= (new RPrinters.printer ());
 (<:expr< "@[\"%s\"@]" >> |> opr#expr fmt);
"@["%s"@]"- : unit = ()

The output is no longer a valid format string. IMO, compose <:expr< >> and opr#expr will get
an identity function.

This also makes my code broken when you compile the preprocessed textual output instead of
marshalized Ast.
Many thanks
TagsNo tags attached.
Attached Files

- Relationships
related to 0005442resolveddim camlp4: quotation issue with strings 

-  Notes
(0007542)
dim (developer)
2012-06-12 17:48

This bug was fixed but it seems the fix has been reverted when the bin-annot branch was merged.
(0007543)
hongboz (developer)
2012-06-12 17:51

my oaml version:
    Camlp4 Parsing version 4.01.0+dev3_2012-05-30.
(0007544)
dim (developer)
2012-06-12 17:57

Seems to match. I will try to find exactly what was reverted and apply the patch again.
(0007545)
dim (developer)
2012-06-12 18:20

Done.

Commits 12595 and 12596.

Can you check that it works for you ?
(0007546)
hongboz (developer)
2012-06-12 18:50

I will have a try soon
(0007547)
hongboz (developer)
2012-06-12 21:54

Yest. it was fixed. Thanks for so quick response :-)

- Issue History
Date Modified Username Field Change
2012-06-12 17:03 hongboz New Issue
2012-06-12 17:23 dim Relationship added related to 0005442
2012-06-12 17:26 dim Note Added: 0007541
2012-06-12 17:27 dim Assigned To => dim
2012-06-12 17:27 dim Status new => feedback
2012-06-12 17:28 dim Note Deleted: 0007541
2012-06-12 17:28 dim Status feedback => assigned
2012-06-12 17:48 dim Note Added: 0007542
2012-06-12 17:51 hongboz Note Added: 0007543
2012-06-12 17:57 dim Note Added: 0007544
2012-06-12 18:20 dim Note Added: 0007545
2012-06-12 18:50 hongboz Note Added: 0007546
2012-06-12 21:54 hongboz Note Added: 0007547
2012-06-12 22:38 dim Status assigned => resolved
2012-06-12 22:38 dim Resolution open => fixed
2012-06-12 22:38 dim Fixed in Version => 4.00.0+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker