Skip to content

Correct line numbering#281

Merged
sebaszm merged 1 commit into
R4_4from
development/correct-line-numbering
Jun 10, 2026
Merged

Correct line numbering#281
sebaszm merged 1 commit into
R4_4from
development/correct-line-numbering

Conversation

@sebaszm

@sebaszm sebaszm commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 10, 2026 08:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the ProxyStubGenerator C++ parsing/preprocessing metadata so that reported source locations (file/line) better correspond to the original input files, particularly across @insert/@stubgen:include expansions.

Changes:

  • Stops recording a line number entry when processing @FILE: tokens during Parse().
  • Updates ReadFile() include return indexing from i+1 to i+2 to resume on the correct following line after an include directive.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ProxyStubGenerator/CppParser.py
@github-actions

Copy link
Copy Markdown

LuaGenerator Results

View Results

No changes detected.

@github-actions

Copy link
Copy Markdown

ProxyStubGenerator Results

View Results

Changes detected.

@sebaszm sebaszm merged commit 4888660 into R4_4 Jun 10, 2026
47 of 48 checks passed
@sebaszm sebaszm deleted the development/correct-line-numbering branch June 10, 2026 08:52
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants