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

camlp4r differs from camlp4 -parser rp #5134

Closed
vicuna opened this issue Aug 23, 2010 · 0 comments
Closed

camlp4r differs from camlp4 -parser rp #5134

vicuna opened this issue Aug 23, 2010 · 0 comments

Comments

@vicuna
Copy link

vicuna commented Aug 23, 2010

Original bug ID: 5134
Reporter: Hendrik Tews
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.0
Fixed in version: 3.12.1+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Related to: #5071 #5129
Monitored by: "Sergey Plaksin"

Bug description

Contrary to what the camlp4 wiki states camlp4r and camlp4 -parser rp are not equivalent: The former parses revised syntax while the latter parses original syntax with revised stream parser (which is an interesting mixture, by the way).

Fix: remove the pa_o in the line matching "rp" in Camlp4Bin.rewrite_and_load.

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