Skip to content

Implement syntax extensions for #file and #line #2245

Closed

Description

@catamorphism

Implement a syntax extension for #file (expanding to the name of the file that the extension is used in) and #line (expanding to the line number that the extension is used on). This is needed for #2228 and #2232.

Activity

  1. bstrie commented on Apr 23, 2012

    @bstrie
    Contributor

    Is this also needed for #554?

  2. catamorphism commented on Apr 23, 2012

    @catamorphism
    ContributorAuthor

    @Wensleydale -- I don't think it's needed, strictly? Log doesn't seem to print out the file/line number where the log expression was right now, though it would be nice if it did.

  3. brson commented on May 23, 2012

    @brson
    Contributor

    @paulstansifer I think this is done?.

  4. paulstansifer commented on May 23, 2012

    @paulstansifer
    Contributor

    Closed by 88f4d06.

  5. added a commit that references this issue on Sep 22, 2022
  6. added a commit that references this issue on Feb 11, 2025
  7. added a commit that references this issue on Aug 21, 2026
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

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions