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

Characters location of @here are not correct #4595

Closed
vicuna opened this issue Aug 11, 2008 · 2 comments
Closed

Characters location of @here are not correct #4595

vicuna opened this issue Aug 11, 2008 · 2 comments
Milestone

Comments

@vicuna
Copy link

vicuna commented Aug 11, 2008

Original bug ID: 4595
Reporter: @Chris00
Status: closed (set by @xavierleroy on 2015-12-11T18:20:56Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10.2
Target version: 4.01.0+dev
Fixed in version: 4.01.0+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Related to: #4846

Bug description

The possibility of writing

<:expr@here< 1 * 2 + 3 >>

is absolutely wonderful. However, the location characters reported by the expression is not right; in the above case, the characters pointed are "+ 3".
The attached file demonstrate the problem on various cases (the easier is to load it in Emacs and to run it with C-cC-c).

File attachments

@vicuna
Copy link
Author

vicuna commented Aug 22, 2012

Comment author: @bobzhang

will anyone took a look at Lexer.mll in https://bitbucket.org/HongboZhang/ocaml .
It seems to be fixed in my version of camlp4. But I did not remember exactly which patch I applied.

@vicuna
Copy link
Author

vicuna commented Jul 9, 2013

Comment author: @damiendoligez

This bug appears to be fixed in 4.01.0+dev18.

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