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

object copy syntax parsed wrong with camlp4of #5144

Closed
vicuna opened this issue Sep 10, 2010 · 0 comments
Closed

object copy syntax parsed wrong with camlp4of #5144

vicuna opened this issue Sep 10, 2010 · 0 comments

Comments

@vicuna
Copy link

vicuna commented Sep 10, 2010

Original bug ID: 5144
Reporter: jaked
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.12.0
Fixed in version: 3.12.1+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Has duplicate: #4673

Bug description

For example

camlp4of -str "{< foo = bar; baz = quux >}"

produces

{< foo = (bar; baz = quux); >}

i.e. everything after the first = is parsed as a single expression. I think in the field_expr entry, the call to expr should be at level "top" or lower.

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