dastworx, fixme not detected anymore + add support for "//note:"

This commit is contained in:
Basile Burg 2016-07-02 16:01:48 +02:00
parent fcb76a4097
commit 8cc08276db
3 changed files with 5 additions and 4 deletions

View File

@ -138,7 +138,8 @@ version(devel)
version(none) import std.compiler;
version(all) import std.uri;
mixin(q{import std.c.time;});
// TODO:something
// TODO: something
// NOTE: there was a bug here...
// FIXME-cmain-aMrFreeze-p8: there's an infinite recursion whith the option -x
}

View File

@ -12,7 +12,7 @@ import
* ModuleDeclaration and that are passed to the compiler when a runnable is
* launched.
*
* each line of the soutput contains an option.
* each line of the output contains an option.
*/
void getRunnableFlags(const(Token)[] tokens)
{

View File

@ -66,7 +66,7 @@ private void analyze(const(Token) token, string fname)
{
identifier ~= std.ascii.toUpper(text.front);
text.popFront;
if (identifier.among("TODO","FIXME, NOTE"))
if (identifier.among("TODO", "FIXME", "NOTE"))
{
isTodoComment = true;
break;