Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Suggestion for TODO list plugin
Jenna:
No objections from me.
I don't use warnings or errors as todo's either, but I just tested it and stumbled over this issue.
DrewBoo:
--- Quote from: MortenMacFly on February 19, 2009, 01:55:46 pm ---A simple modification should ensure this happens always (it seems to be a good solution). Any objections?
--- End quote ---
Since you're digging into that parsing code, here are some other wonky test cases you might be able to clear up.
This registers incorrectly as 2 entries:
--- Code: --- char *x = "// TODO";
// TODO: Fix
--- End code ---
This registers incorrectly as 0 entries:
--- Code: --- char *x = "TODO";
// TODO: Fix
--- End code ---
This registers incorrectly as 0 entries:
--- Code: --- char *x = "NOTE";
// NOTE: Fix
--- End code ---
Although, oddly, this correctly gives the one TODO entry.
--- Code: --- char *x = "NOTE";
// TODO: Fix
--- End code ---
Navigation
[0] Message Index
[*] Previous page
Go to full version