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

comments in camlp4 #3068

Closed
vicuna opened this issue Dec 4, 2001 · 1 comment
Closed

comments in camlp4 #3068

vicuna opened this issue Dec 4, 2001 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Dec 4, 2001

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

Bug description

Full_Name: Virgile Prevosto
Version: 3.04
OS: linux (RedHat 6.2)
Submission from: etna.lip6.fr (132.227.83.203)

Since camlp4 has become included in ocaml distribution, I think it is the right
place
to report a bug about it. Please correct me if I'm wrong.

It seems that the cvs version of camlp4 does not handle properly comments about
an exception. More precisely, the following code:

exception Foo (* a long *
* comment *)

when processed through camlp4 (exact command: camlp4 pa_o.cmo pr_o.cmo)
produces:

exception Foo;;
* comment *)

This does not seem to affect other constructions (type or function
definitions).

In addition, if the comment is put on its own line, which I agree is a better
style,
everything works fine.

@vicuna
Copy link
Author

vicuna commented Dec 4, 2001

Comment author: administrator

Salut,

On Tue, Dec 04, 2001 at 03:15:53PM +0100, virgile.prevosto@lip6.fr wrote:

exception Foo;;
* comment *)

Ok, c'est corrigé.

--
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/

@vicuna vicuna closed this as completed Dec 5, 2001
@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