Skip to content

Line numbers and #line directives #958

@andk

Description

@andk
Contributor

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;

Activity

ranguard

ranguard commented on Dec 23, 2013

@ranguard
Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @andk@ranguard

        Issue actions

          Line numbers and #line directives · Issue #958 · metacpan/metacpan-web