Name |
Last commit
|
Last update |
---|---|---|
.. | ||
c++98-pedantic.C | ||
c++98.C | ||
c++_cmd_1.C | ||
c++_cmd_1.h | ||
normalize-1.C | ||
string-1.C | ||
truefalse.C | ||
ucnid-1.C | ||
weak.C |
gcc: PR c++/17964 * diagnostic.c (diagnostic_set_info_translated): New function. (diagnostic_set_info): Use it. Add comment. * diagnostic.h (diagnostic_set_info_translated): Declare. gcc/cp: * error.c (cp_cpp_error): New function. * cp-tree.h (cp_cpp_error): Declare. * parser.c (cp_lexer_new_main): Set CPP option client_diagnostic and error callback after lexing. gcc/testsuite: * g++.dg/cpp/string-1.C: New test. libcpp: * include/cpplib.h (struct cpp_options): Add client_diagnostic. (struct cpp_callbacks): Add error. * errors.c (cpp_error): If client_diagnostic, use error callback. * charset.c (convert_escape): Don't use %03o in diagnostic. From-SVN: r106454
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
c++98-pedantic.C | Loading commit data... | |
c++98.C | Loading commit data... | |
c++_cmd_1.C | Loading commit data... | |
c++_cmd_1.h | Loading commit data... | |
normalize-1.C | Loading commit data... | |
string-1.C | Loading commit data... | |
truefalse.C | Loading commit data... | |
ucnid-1.C | Loading commit data... | |
weak.C | Loading commit data... |