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 not track valid position in source file #8349
Comments
Comment author: administrator
Hello, This is a known problem that will take some time (and a lot of work) Thanks for your report, -- Damien |
Comment author: administrator On Thu, 6 Nov 2003 16:44:26 +0100 (MET), Damien Doligez
Yes, I know. But, it's simple example, if I have 10 source files, find I make small patch, which solve problem with file name. PS: I found what emacs mode for ocaml not show types info for files which --
|
Comment author: administrator see also #8436 |
Original bug ID: 1906
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Artem Prysyanuk
Version: 3.07+2
OS: RedHat 9
Submission from: 213.156.75.17.priocom.com (213.156.75.17)
$ ocamlc -version
3.07+2
$ camlp4o -v
Camlp4 version 3.07+2
$ cat a.ml
let test () =
raise Not_found;;
test ();;
$ export OCAMLRUNPARAM=b
Without camlp4 all ok.
$ ocamlc -g a.ml
$ ./a.out
Fatal error: exception Not_found
Raised at file "a.ml", line 2, character 16
Called from file "a.ml", line 3, character 7
But if I use camlp4o, output after exception:
$ ocamlc -pp camlp4o -g a.ml
$ ./a.out
Fatal error: exception Not_found
Raised at file "", line 1, character 31
Called from file "", line 1, character 41
So, file names and line numbers are missing.
The text was updated successfully, but these errors were encountered: