[Tool/Web/Other] CodeParser: Generate auto-complete files for Sublime Text / Notepad++ (Qt/C++)
#6

Quote:
Originally Posted by Johnson_boy
View Post
I had a look into it, and the regular expression did indeed contain an error, resulting in those 4 first functions being skipped. That bug is now fixed.
What about _players_included?

Quote:
Originally Posted by Johnson_boy
View Post
However, I was unable to reproduce the issue you described with the npc file. I included a_npc in a bare gamemode, and all the npc functions were correctly parsed and written to the output file. I am relatively sure I didn't make any changes regarding that in the update, but you could try with the latest version, and see if the functions are still missing.
Oh well, it's my bad. I just wanna make a complete list of native functions and callbacks, but you know a_samp and a_npc can't be used together -_-

Quote:
Originally Posted by Johnson_boy
View Post
As to parsing the defines, it is not currently possible, because the defines no longer exists having preprocessed the file using the pawn compiler. I guess the best solution would be to include a predefined list definitions present in SA-MP 0.3z in the output. Another way would be to manually parse every file in the include directory, but that would result in a large number of defines which are never used in the script.
U can parse .pwn file to get all used includes.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)