Skip to content
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

Bug in Ocamldoc with infix operators #3657

Closed
vicuna opened this issue Sep 12, 2002 · 2 comments
Closed

Bug in Ocamldoc with infix operators #3657

vicuna opened this issue Sep 12, 2002 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 12, 2002

Original bug ID: 1386
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Ocamldoc seems to have some problems with infix operators. In particular,
I get the following kind of error when using ocamldoc on files with infix
operators defined. I've seen the same problem with ocaml3.05 and 3.06.
doc\code_VALAMatrix.(|>).html: Invalid argument
doc\code_VALAMatrix.(<|).html: Invalid argument
doc\code_VALAMatrix.Infix.(|>>).html: Invalid argument
doc\code_VALAMatrix.Infix.(<<|).html: Invalid argument
doc\code_VALEddie_post_extract.(|=).html: Invalid argument
doc\code_VALEddie_post_extract.(|<).html: Invalid argument
doc\code_VALEscript.(|=).html: Invalid argument
doc\code_VALEscript.(|<).html: Invalid argument
doc\code_VALMinscript.(|=).html: Invalid argument
doc\code_VALMinscript.(|<).html: Invalid argument
doc\code_VALStats.Infix.(/!).html: No such file or directory
doc\code_VALStats.Infix.(!).html: Invalid argument
doc\code_VALStats.Infix.(/:).html: Invalid argument
doc\code_VALStats.Infix.(
:).html: Invalid argument
doc\code_VALStats.Infix.(+<).html: Invalid argument
doc\code_VALStats.Infix.(-<).html: Invalid argument
doc\code_VALStats.Infix.(/<).html: No such file or directory
doc\code_VALStats.Infix.(*<).html: Invalid argument
doc\code_VALTradeTypes.(|>).html: Invalid argument
doc\code_VALTradeTypes.(<|).html: Invalid argument

--
|--------/ Yaron M. Minsky --------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|

Open PGP --- KeyID B1FFD916 (new key as of Dec 4th)
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916

@vicuna
Copy link
Author

vicuna commented Sep 13, 2002

Comment author: administrator

Hi,

Ocamldoc seems to have some problems with infix operators. In particular,
I get the following kind of error when using ocamldoc on files with infix
operators defined. I've seen the same problem with ocaml3.05 and 3.06.
doc\code_VALAMatrix.(|>).html: Invalid argument
...
doc\code_VALTradeTypes.(<|).html: Invalid argument

Yes, the OCaml infix values had incorrect corresponding file names
in the HTML generator. This is fixed in the CVS.
See ocamldoc/odoc_html.ml revision 1.24 within a few hours.

Each special character is replaced by a string in the file name:
'/' become "slash", '<' becomes "lt", ...

Thanks for your report.

--
Maxence Guesdon

@vicuna
Copy link
Author

vicuna commented Sep 16, 2002

Comment author: administrator

Fixed by Maxence -- 2002-Sep-13

@vicuna vicuna closed this as completed Sep 16, 2002
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant