function list duplicates (in C)



  • I am writing C code and I find that some functions, now 2 across 2 files, show up in the function list every time they are called. The only commonality is that both are if(function) and I think that they also both used (char *str) as inputs (I deleted one of them through development). They show up as function(str), 3 of those, but a the top of the list is function (char *str). I have multiple functions with the same input scheme, also called in if statements. Any ideas?



  • Ideas:

    1. include example code so we can easily reproduce/check the problem;
    2. include which functionList.xml version you’re using (Notepad++ version);
    3. search this forum for previous items on the FunctioList C-parser;
    4. search for applicable issues in the Notepad++ repository;
    5. search for applicable pull requests in the Notepad++ repository ;


  • @MAPJe71 said:

    include example code so we can easily reproduce/check the problem;

    I would if I could, I should have clarified that it’s against academic honesty policy for my uni to post code anywhere so I can’t. I’ll check out the other stuff.



  • It looks like the issue has been reported repeatedly since mid-2018. I don’t understand why it’s happening but at least I’m not alone. In fact, you’ve noted it at least twice on github, so I don’t get why you wouldn’t just say "It’s been notices already "but I digress. I’ll just wait until the other issues are marked as resolved.



  • @Dylan-Shekter

    Might be a long wait. Good luck



  • @Dylan-Shekter

    I would if I could, …

    The example code doesn’t have to be the exact source code. A snippet with renamed functions (and empty function body) with which we (that includes you) can reproduce the issue.

    I don’t get why you wouldn’t just say “It’s been noticed already”

    Because I didn’t (and still don’t) understand the exact problem based on your description. That’s why I opted to post more info (points 1 & 2). Furthermore, you could have come to this conclusion yourself/earlier had you executed point 3, 4 or 5.


Log in to reply