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

CfgFunctions issue with 0.9.8 #51

Closed
Wyqer opened this issue May 1, 2019 · 6 comments
Closed

CfgFunctions issue with 0.9.8 #51

Wyqer opened this issue May 1, 2019 · 6 comments
Assignees
Labels

Comments

@Wyqer
Copy link

Wyqer commented May 1, 2019

Since the update this night all own functions, defined via CfgFunctions.hpp, are marked as possibly undefined variables.

Before the update, same project, it worked fine and also parsed the function header as tooltip.

@SkaceKamen
Copy link
Owner

That's weird, I don't think I've touched the cfgFunctions parser in last update. Could you elaborate how you define your functions?

Do you use macros in your functions definitions or just plain definitions?

@SkaceKamen SkaceKamen self-assigned this May 1, 2019
@SkaceKamen SkaceKamen added the bug label May 1, 2019
@veteran29
Copy link
Contributor

All of our functions are included via this file (which itself is included into description.ext):

https://github.com/KillahPotatoes/KP-Liberation/blob/v0.97/Missionframework/KPLIB_functions.hpp

@SkaceKamen
Copy link
Owner

O damn, I've noticed I've pushed old version of the description.ext parser, which could be the issue. Let mi fix that quickly.

@Wyqer
Copy link
Author

Wyqer commented May 1, 2019

Would be an "easy fix", which is nice ^^

By the way. Am I wrong or was there autocompletion for own global/local variables and functions somewhere in the past? Currently I've only autocompletion for BI commands and nothing else and I'm unsure, if it was always that way.

@SkaceKamen
Copy link
Owner

I've pushed new version, 0.9.81, please try if it works now.

For the autocompletion, it should display everything. If not, there's something wrong, I'll test it.

@SkaceKamen
Copy link
Owner

For the autocompletion, the fix will probably be harder, #52

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

No branches or pull requests

3 participants