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 does not increment line num in multiline anti-quotations #3549

Closed
vicuna opened this issue Mar 18, 2005 · 2 comments
Closed

camlp4 does not increment line num in multiline anti-quotations #3549

vicuna opened this issue Mar 18, 2005 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 18, 2005

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

Bug description

Full_Name: Mark Shields
Version: 3.08.2
OS: OS X
Submission from: cvs.galois.com (69.30.123.194)

If my source contains an camlp4 quotation such as:
<:mylabel< something in my syntax with
$(* an ocaml anti-quotation )
let x = 1 in x + 1
(
which happens to span multiple lines *)$
just like that >>
and I have an error later in the same file, the reported line number is 2 too
low. Somehow the camlp4 lexer is loosing the newlines in the anti-quotation.

Thanks.

@vicuna
Copy link
Author

vicuna commented Apr 14, 2005

Comment author: administrator

Fixed 2005/04/14, MM

@vicuna
Copy link
Author

vicuna commented Apr 14, 2005

Comment author: administrator

Mark,

Somehow the camlp4 lexer is loosing the newlines in the anti-quotation.

Fixed in the CVS. Thanks for the report,

-- Michel

@vicuna vicuna closed this as completed Apr 14, 2005
@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