Is. #487 - Remove duplicated warning output
This commit is contained in:
parent
69ade7d1c6
commit
d0869dd4bd
|
@ -2701,10 +2701,9 @@ static Node* GetTokenFromStream( TidyDocImpl* doc, GetTokenMode mode )
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
We only print this message if there's a missing
|
|
||||||
starting hyphen; this comment will be dropped.
|
|
||||||
*/
|
|
||||||
TY_(Report)(doc, NULL, NULL, MALFORMED_COMMENT_DROPPING );
|
TY_(Report)(doc, NULL, NULL, MALFORMED_COMMENT_DROPPING );
|
||||||
|
Warning now done later - see issue #487
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
else if (c == 'd' || c == 'D')
|
else if (c == 'd' || c == 'D')
|
||||||
{
|
{
|
||||||
|
@ -2777,6 +2776,10 @@ static Node* GetTokenFromStream( TidyDocImpl* doc, GetTokenMode mode )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
We only print this message if there's a missing
|
||||||
|
starting hyphen; this comment will be dropped.
|
||||||
|
*/
|
||||||
TY_(Report)(doc, NULL, NULL, MALFORMED_COMMENT_DROPPING ); /* Is. #487 */
|
TY_(Report)(doc, NULL, NULL, MALFORMED_COMMENT_DROPPING ); /* Is. #487 */
|
||||||
|
|
||||||
/* else swallow characters up to and including next '>' */
|
/* else swallow characters up to and including next '>' */
|
||||||
|
|
Loading…
Reference in a new issue