mirror of https://gitlab.com/basile.b/dexed.git
dastworx, fixme not detected anymore + add support for "//note:"
This commit is contained in:
parent
fcb76a4097
commit
8cc08276db
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue