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: 4509 Reporter: jimgrundy Status: closed (set by @xclerc on 2010-12-08T08:37:11Z) Resolution: unable to duplicate Priority: normal Severity: minor Version: 3.10.1 Fixed in version: 3.12.1+dev Category: ocamldoc Monitored by: jimgrundy till
Bug description
If I made conditional definitions in my .mli file using the pa_macro facility of camlp4 I can process this without errors if I use the appropriate -pp "camlp4o pa_macro.cmo" with ocamldoc, but the output gets some junk in it.
Additional information
For example: consider this foo.mli file:
IFDEF FOO THEN
module Bar: Hashtbl.HashedType with type t = int
ELSE
module Bar: Hashtbl.HashedType
ENDIF
Processing with
ocamldoc -hide-warnings -html -pp "camlp4o pa_macro.cmo -DFOO" foo.mli
produces this output:
Module Foo
module Foo: sig .. end
module Bar: Hashtbl.HashedType with type t = int
ELSE
Note the trailing "ELSE" junk. More complex uses generate more complex junk.
The text was updated successfully, but these errors were encountered:
Original bug ID: 4509
Reporter: jimgrundy
Status: closed (set by @xclerc on 2010-12-08T08:37:11Z)
Resolution: unable to duplicate
Priority: normal
Severity: minor
Version: 3.10.1
Fixed in version: 3.12.1+dev
Category: ocamldoc
Monitored by: jimgrundy till
Bug description
If I made conditional definitions in my .mli file using the pa_macro facility of camlp4 I can process this without errors if I use the appropriate -pp "camlp4o pa_macro.cmo" with ocamldoc, but the output gets some junk in it.
Additional information
For example: consider this foo.mli file:
IFDEF FOO THEN
module Bar: Hashtbl.HashedType with type t = int
ELSE
module Bar: Hashtbl.HashedType
ENDIF
Processing with
ocamldoc -hide-warnings -html -pp "camlp4o pa_macro.cmo -DFOO" foo.mli
produces this output:
Module Foo
module Foo: sig .. end
module Bar: Hashtbl.HashedType with type t = int
ELSE
Note the trailing "ELSE" junk. More complex uses generate more complex junk.
The text was updated successfully, but these errors were encountered: