mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-27 13:50:02 +03:00
merged master and removed old code
This commit is contained in:
parent
2f03c1ec3b
commit
caa16aa325
4 changed files with 3 additions and 17 deletions
2
dsymbol
2
dsymbol
|
@ -1 +1 @@
|
|||
Subproject commit ceea154b0047f71e4ffec224096ce87015578a8a
|
||||
Subproject commit 62d9030ae12ae02b2ba247c500502434facc2ac8
|
2
libddoc
2
libddoc
|
@ -1 +1 @@
|
|||
Subproject commit d50190b7e33b11d7fec05e504549f0f285bd2232
|
||||
Subproject commit eb582ed53d8cee3933140c9593c6401e6b9ac1d4
|
|
@ -1 +1 @@
|
|||
Subproject commit 597d9a697b1f8a51fb2f441c61d0c6cc4eadc6d1
|
||||
Subproject commit 63559db5cc6fa38c01bdda36e09638b5f20fb8e5
|
|
@ -88,20 +88,6 @@ protected:
|
|||
|
||||
void addErrorMessage(size_t line, size_t column, string key, string message)
|
||||
{
|
||||
import std.file : readText, exists;
|
||||
import std.array : split;
|
||||
import std.ascii : newline;
|
||||
import std.algorithm : canFind;
|
||||
|
||||
if (exists(fileName))
|
||||
{
|
||||
string l = readText(fileName).split(newline)[line-1];
|
||||
if (l.canFind("@suppress(" ~ key ~ ")"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
_messages.insert(Message(fileName, line, column, key, message, getName()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue