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

camlp4 + toplevel = hang #6543

Closed
vicuna opened this issue Sep 4, 2014 · 2 comments
Closed

camlp4 + toplevel = hang #6543

vicuna opened this issue Sep 4, 2014 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Sep 4, 2014

Original bug ID: 6543
Reporter: yxie
Assigned to: @diml
Status: closed (set by @diml on 2014-09-10T13:39:18Z)
Resolution: not a bug
Priority: normal
Severity: minor
Platform: Linux
OS: RHEL
OS Version: 6.4
Version: 4.02.0+beta1 / +rc1
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues

Bug description

I ran into the following problem after upgrading to 4.02. As soon as I load the camlp4o.cma in the toplevel, it doesn't seem to want to parse statements as they're typed in anymore -- ";;" has no effect and I had to type several ^D in a row to get the statement parsed.

4.01 is fine. Utop is fine. It's only been a problem for me under plain toplevel since 4.02.

Thanks!

Steps to reproduce

OCaml version 4.02.1+dev0-2014-08-29

#load "dynlink.cma";;

#load "camlp4o.cma";;

    Camlp4 Parsing version 4.02.1+dev0-2014-08-29

1;;

3;;

^D
^D
^D
^D
^D
^D
^D

  • : int = 1
@vicuna
Copy link
Author

vicuna commented Sep 10, 2014

Comment author: @diml

Could you report this issue on the camlp4 project on github?

https://github.com/ocaml/camlp4

@vicuna
Copy link
Author

vicuna commented Sep 10, 2014

Comment author: yxie

sure. added as:

camlp4/camlp4#48

@vicuna vicuna closed this as completed Sep 10, 2014
@vicuna vicuna added the camlp4 label Mar 14, 2019
@vicuna vicuna assigned ghost Mar 14, 2019
@vicuna vicuna added the bug label Mar 20, 2019
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