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

Preprocessor drops illegally used operators #4551

Closed
vicuna opened this issue May 7, 2008 · 1 comment
Closed

Preprocessor drops illegally used operators #4551

vicuna opened this issue May 7, 2008 · 1 comment

Comments

@vicuna
Copy link

vicuna commented May 7, 2008

Original bug ID: 4551
Reporter: @mmottl
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:31:34Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10.2
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Duplicate of: #4513
Monitored by: @mmottl

Bug description

The following will be rewritten from incorrect code to code that compiles:

camlp4o -printer o -str "if true || then ()"

The operator (||) will be silently dropped. It seems there is a whole class of errors of this kind as explained in earlier reports, e.g. bug #4513.

@vicuna
Copy link
Author

vicuna commented Oct 3, 2008

Comment author: ertai

Thank for the report(s) this bug is now fixed in the CVS HEAD version.

NOTE: #4603, #4330, #4551, #4513 are all the same bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant