| Anonymous | Login | Signup for a new account | 2013-06-20 11:22 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0004346 | OCaml | Camlp4 | public | 2007-07-18 02:55 | 2012-09-15 00:05 | ||||||
| Reporter | jm | ||||||||||
| Assigned To | |||||||||||
| Priority | low | Severity | minor | Reproducibility | always | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.10+dev | ||||||||||
| Target Version | 4.01.0+dev | Fixed in Version | |||||||||
| Summary | 0004346: Camlp4 messes up comments within and after records. | ||||||||||
| Description | $ cat tst.ml (** comment of t *) type t = { mutable a : int; (** a *) mutable b : int; (** b *) mutable c : int; (** c *) mutable d : int; (** d *) mutable e : int; (** e *) } (** after *) $ camlp4o tst.ml (** comment of t *) type t = { (** a *) (** b *) (** c *) mutable a : int; mutable b : int; mutable c : int; mutable d : int; (** d *) mutable e : int } cat tst_bis.ml (** comment of t *) type t = { mutable a : int; (** a *) mutable b : int; (** b *) mutable c : int; (** c *) mutable d : int; (** d *) mutable e : int; (** e *) } (** after *) () $ camlp4o tst_bis.ml (** comment of t *) type t = { (** a *) (** b *) (** c *) mutable a : int; mutable b : int; mutable c : int; mutable d : int; (** d *) mutable e : int } (** e *) (** after *) let _ = () | ||||||||||
| Additional Information | This becomes extremely annoying when the output is intended to be used by ocamldoc. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Relationships |
|||||||||||
|
|||||||||||
Notes |
|
|
(0004105) ertai (developer) 2007-07-18 14:45 |
Dealing with comments while making structured program manipulation is still an open problem. I will try to improve it but not in the mean time. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2007-07-18 02:55 | jm | New Issue | |
| 2007-07-18 14:45 | ertai | Note Added: 0004105 | |
| 2007-07-18 14:45 | ertai | Assigned To | => ertai |
| 2007-07-18 14:45 | ertai | Priority | normal => low |
| 2007-07-18 14:45 | ertai | Status | new => acknowledged |
| 2012-07-11 16:06 | doligez | Relationship added | related to 0004713 |
| 2012-07-11 16:06 | doligez | Relationship added | related to 0004545 |
| 2012-07-11 16:06 | doligez | Target Version | => 4.01.0+dev |
| 2012-07-12 11:27 | doligez | Assigned To | ertai => |
| 2012-07-31 13:37 | doligez | Target Version | 4.01.0+dev => 4.00.1+dev |
| 2012-09-15 00:05 | doligez | Target Version | 4.00.1+dev => 4.01.0+dev |
| Copyright © 2000 - 2011 MantisBT Group |