You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 3733 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Christoph Bauer
Version: 3.08.3
OS:
Submission from: 213.68.136.226 (213.68.136.226)
Hi,
Camlp4 reports a worng file location under some spection
conditions:
1.) location information is provided in the ml-file by
100 "file"
2.) it is a syntax error (forgotten in, wrong ;)
For other errors (wrong variable names) the filename is always correct.
File line number is always correct.
Example:
(* test.ml *)
100 "myfilename"
let a in b
(eof)
ocamlc -pp camlp4o test.ml
-> error in file "test.ml"
(* test.ml *)
100 "myfilename"
let a = b in b
(eof)
ocamlc -pp camlp4o test.ml
-> error in file "myfilename"
Thanks,
Christoph Bauer
The text was updated successfully, but these errors were encountered:
Original bug ID: 3733
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Christoph Bauer
Version: 3.08.3
OS:
Submission from: 213.68.136.226 (213.68.136.226)
Hi,
Camlp4 reports a worng file location under some spection
conditions:
1.) location information is provided in the ml-file by
100 "file"
2.) it is a syntax error (forgotten in, wrong ;)
For other errors (wrong variable names) the filename is always correct.
File line number is always correct.
Example:
(* test.ml *)
100 "myfilename"
let a in b
(eof)
ocamlc -pp camlp4o test.ml
-> error in file "test.ml"
(* test.ml *)
100 "myfilename"
let a = b in b
(eof)
ocamlc -pp camlp4o test.ml
-> error in file "myfilename"
Thanks,
Christoph Bauer
The text was updated successfully, but these errors were encountered: