Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004045OCamlCamlp4public2006-06-12 16:042007-02-21 15:56
Reporterprevosto 
Assigned Toertai 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version3.10+dev 
Target VersionFixed in Version3.10+dev 
Summary0004045: wrong location for multi-line string when using camlp4
DescriptionWhen using camlp4o as preprocessor, ocaml reports errors involving a multi-line string at a wrong location (namely the first character of the last line of the
string):
--- test.ml
1 + "\
foo\
bar\
bla";;
---
ocamlc -pp "camlp4o" test.ml
File "test.ml", line 4, characters 0-1:
This expression has type string but is here used with type int

Additional InformationHi Virgile,

You should checkout the latest Camlp4 version cause it does not trigger this bug.

ocamlc -pp camlp4o /tmp/test.ml
File "/tmp/test.ml", line 1, characters 4-21:
This expression has type string but is here used with type int
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2006-06-12 16:04 prevosto New Issue
2006-06-12 16:15 ertai Assigned To => ertai
2006-06-12 16:15 ertai Status new => resolved
2006-06-12 16:15 ertai Resolution open => no change required
2006-06-12 16:15 ertai Product Version 3.09.2 => 3.10+dev
2006-06-12 16:15 ertai Additional Information Updated
2007-02-21 15:56 xleroy Status resolved => closed
2007-02-21 15:56 xleroy Fixed in Version => 3.10+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker