Skip to content

Conversation

@fernewelten
Copy link
Contributor

@fernewelten fernewelten commented Oct 27, 2025

Fixes #2902

Fix bug: When reporting an undefined symbol, the compiler didn't report the line that the symbol itself was on, but the line of the preceding symbol.

Typical code:
func is unknown, this should be reported for the line 8, not 3

void game_start() // line 1
{
    int i; // line 3




    func(null); // line 8
}

When reporting an undefined symbol, put the cursor directly after that symbol so that the correct line number is reported
@fernewelten
Copy link
Contributor Author

The failing checks seem to be unrelated to the patch proper.

@ivan-mogilko ivan-mogilko merged commit 33c34b5 into adventuregamestudio:ags4 Oct 28, 2025
18 of 24 checks passed
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

Successfully merging this pull request may close these issues.

2 participants