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

Re: [Caml-list] Slight parsing difference with/without -pp "camlp4o" #3015

Closed
vicuna opened this issue Jul 28, 2004 · 1 comment
Closed

Re: [Caml-list] Slight parsing difference with/without -pp "camlp4o" #3015

vicuna opened this issue Jul 28, 2004 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 28, 2004

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

Bug description

Hum, according to the grammar given at
http://caml.inria.fr/ocaml/htmlman/manual008.html, this should be
accepted by ocaml. Either the spec is too large, or the ocaml parser
is too restrictive (and camlp4o conforms to the spec, here).

I'm Cc-ing to the ocaml bug tracking system. Thanks for the report,

-- Michel

Richard Jones wrote/écrivait (Tue, Jul 20, 2004 at 10:21:14AM +0100):

[This is with OCaml 3.07 - not checked with 3.08]

--------------------------------------------------------- pptest.ml --
let f = fun (year, week) as yw -> 1

$ ocamlc -c pptest.ml
File "pptest.ml", line 1, characters 25-27:
Syntax error

But ...

$ ocamlc -pp "camlp4o" -c pptest.ml
$

Rich.

@vicuna
Copy link
Author

vicuna commented Oct 7, 2004

Comment author: administrator

Fixed with 3140, 3142 and others.(MM, 2004-09).

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