@@ -64,9 +64,13 @@ bool taint_parser(
6464 else
6565 {
6666 messaget message (message_handler);
67- message.error () << " taint rule must have \" kind\" which is "
68- " \" source\" or \" sink\" or \" sanitizer\" "
69- << messaget::eom;
67+ message.error () << " taint rule must have " << messaget::quote_begin
68+ << " kind" << messaget::quote_end << " which is "
69+ << messaget::quote_begin << " source"
70+ << messaget::quote_end << " or " << messaget::quote_begin
71+ << " sink" << messaget::quote_end << " or "
72+ << messaget::quote_begin << " sanitizer"
73+ << messaget::quote_end << messaget::eom;
7074 return true ;
7175 }
7276
@@ -75,8 +79,8 @@ bool taint_parser(
7579 if (function.empty ())
7680 {
7781 messaget message (message_handler);
78- message.error () << " taint rule must have \" function \" "
79- << messaget::eom;
82+ message.error () << " taint rule must have " << messaget::quote_begin
83+ << " function " << messaget::quote_end << messaget::eom;
8084 return true ;
8185 }
8286 else
@@ -101,10 +105,13 @@ bool taint_parser(
101105 else
102106 {
103107 messaget message (message_handler);
104- message.error () << " taint rule must have \" where\" "
105- << " which is \" return_value\" or \" this\" "
106- << " or \" parameter1\" ..."
107- << messaget::eom;
108+ message.error () << " taint rule must have " << messaget::quote_begin
109+ << " where" << messaget::quote_end << " which is "
110+ << messaget::quote_begin << " return_value"
111+ << messaget::quote_end << " or " << messaget::quote_begin
112+ << " this" << messaget::quote_end << " or "
113+ << messaget::quote_begin << " parameter1"
114+ << messaget::quote_end << " ..." << messaget::eom;
108115 return true ;
109116 }
110117
0 commit comments