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 accept wrong quotes #8376

Closed
vicuna opened this issue Nov 20, 2003 · 2 comments
Closed

camlp4 accept wrong quotes #8376

vicuna opened this issue Nov 20, 2003 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Nov 20, 2003

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

Bug description

Full_Name: Artem Prysyznuk
Version: 3.07pl2
OS: RedHat 9
Submission from: 213.156.75.17.priocom.com (213.156.75.17)

camlp4r not track wrong quotes. Example:

Wrong source:

$ cat err.ml
let str = "Wrong quote \s";;

If I compile w/o camlp4 all ok, compiler print warning message:

$ ocamlc -c err.ml
File "err.ml", line 1, characters 23-25:
Warning: Illegal backslash escape in string

But if I pass source through Camlp4, message loosing:

$ ocamlc -pp camlp4o -c err.ml

Best Regards,
Artem Prysyznuk

@vicuna
Copy link
Author

vicuna commented Nov 21, 2003

Comment author: administrator

Fixed by MM, 2003/11/21

@vicuna vicuna closed this as completed Nov 21, 2003
@vicuna
Copy link
Author

vicuna commented Nov 21, 2003

Comment author: administrator

I've fixed this in the CVS tree. It was just a missing warning.

Thanks for the report,

-- Michel Mauny

tema@sit.kiev.ua wrote/écrivait (Thu, Nov 20, 2003 at 01:46:10PM +0100):

Full_Name: Artem Prysyznuk
Version: 3.07pl2
OS: RedHat 9
Submission from: 213.156.75.17.priocom.com (213.156.75.17)

camlp4r not track wrong quotes. Example:

@vicuna vicuna added the bug label Mar 19, 2019
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