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

vicuna opened this Issue Aug 11, 2008 · 2 comments


None yet
1 participant
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
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


This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Aug 22, 2012

Comment author: @bobzhang

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


This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Jul 9, 2013

Comment author: @damiendoligez

This bug appears to be fixed in 4.01.0+dev18.

@vicuna vicuna closed this Dec 11, 2015

@vicuna vicuna added the camlp4 label Mar 14, 2019

@vicuna vicuna added this to the 4.01.0 milestone Mar 14, 2019

@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
You can’t perform that action at this time.