Ensure that control characters in user supplied error and warning messages are escaped.
PR 84195 * tree.c (escaped_string): New class. Converts an unescaped string into its escaped equivalent. (warn_deprecated_use): Use the new class to convert the deprecation message, if present. (test_escaped_strings): New self test. (test_c_tests): Add test_escaped_strings. From-SVN: r261697
Showing
Please
register
or
sign in
to comment