Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocamlp4 bug
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@o...>
Subject: [Caml-list] ocamlp4 bug
Ocamlp4 doesn't respect # line directives:

--------
ocamlopt.opt  -I src  -pp 'camlp4o
/usr/local/lib/ocaml/site-lib/ulex/pa_ulex.cma' -I
/usr/local/lib/ocaml/site-lib/ulex -c src/flx_ulex.ml
  .. ERROR CODE 0x200
pa_ulex (warning): multiple definition of named regexp 'digit'
File "src/flx_ulex.ml", line 190, characters 11-14:
Parse error: [fun_binding] expected after [patt] (in [let_binding])
Preprocessor error
---------

The file flx_ulex.ml is generated, and contains 
references to the original file. 

Ocaml processes these directives correctly.


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners