Issue #550 - K&R/MSVC10 fix - message.c
This commit is contained in:
parent
dbe8a6a767
commit
eb127a5c5b
|
@ -569,9 +569,9 @@ void TY_(ReportAttrError)(TidyDocImpl* doc, Node *node, AttVal *av, uint code)
|
||||||
/* lexer is not defined when this is called */
|
/* lexer is not defined when this is called */
|
||||||
void TY_(ReportBadArgument)( TidyDocImpl* doc, ctmbstr option )
|
void TY_(ReportBadArgument)( TidyDocImpl* doc, ctmbstr option )
|
||||||
{
|
{
|
||||||
|
TidyMessageImpl *message;
|
||||||
assert( option != NULL );
|
assert( option != NULL );
|
||||||
|
message = TY_(tidyMessageCreate)( doc, STRING_MISSING_MALFORMED, TidyConfig, option );
|
||||||
TidyMessageImpl *message = TY_(tidyMessageCreate)( doc, STRING_MISSING_MALFORMED, TidyConfig, option );
|
|
||||||
messageOut( message );
|
messageOut( message );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue