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

Line numbers and #line directives #958

Closed
andk opened this issue Sep 21, 2013 · 1 comment
Closed

Line numbers and #line directives #958

andk opened this issue Sep 21, 2013 · 1 comment

Comments

@andk
Copy link
Contributor

andk commented Sep 21, 2013

Today I encountered a source file that has plenty of #line directives:

https://metacpan.org/source/TYPESTER/AnyEvent-JSONRPC-Lite-0.15/inc/Test/Builder.pm

For a bug report I had to find line 917 but due to the #line directives I had to find the real line 628.

It would be a nice addition if files with #line directives had one extra column with the mapped line numbers to the left, something like

917 | 628 |     return $numval != 0 and $numval ne $val ? 1 : 0;
@ranguard
Copy link
Member

Moved to wish list: https://github.com/CPAN-API/cpan-api/wiki/Wishlist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants