aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorShujing Zhao <pearly.zhao@oracle.com>2010-05-25 06:26:07 +0000
committerShujing Zhao <pzhao@gcc.gnu.org>2010-05-25 06:26:07 +0000
commitfd33fd1023d68590151bdd579c93f062bfcdd884 (patch)
treeec00ecffbf2ebeee6346550855750bf8c7447e40 /gcc/cp/ChangeLog
parentee4e170616ee6a3c4f626ecf365175663c17b291 (diff)
downloadgcc-fd33fd1023d68590151bdd579c93f062bfcdd884.zip
gcc-fd33fd1023d68590151bdd579c93f062bfcdd884.tar.gz
gcc-fd33fd1023d68590151bdd579c93f062bfcdd884.tar.bz2
re PR c++/18249 (C++ parser i18n problems)
2010-05-25 Shujing Zhao <pearly.zhao@oracle.com> PR c++/18249 * parser.c: Remove inclusion of dyn-string.h. (non_integral_constant): New enum. (name_lookup_error): New enum. (required_token): New enum. (cp_parser_required_error): New function. (cp_parser_require): Change the type of variable token_desc to required_token and use cp_parser_required_error. (cp_parser_require_keyword): Likewise. (cp_parser_error): Use gmsgid as parameter. (cp_parser_name_lookup_error): Change the type of variable desired to name_lookup_error and put the diagnostic in the full sentences. Change caller. (cp_parser_non_integral_constant_expression): Change the type of the variable thing to non_integral_constant and put the diagnostics in full sentences. Change caller. From-SVN: r159808
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index cd86b88..8615d2b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,22 @@
+2010-05-25 Shujing Zhao <pearly.zhao@oracle.com>
+
+ PR c++/18249
+ * parser.c: Remove inclusion of dyn-string.h.
+ (non_integral_constant): New enum.
+ (name_lookup_error): New enum.
+ (required_token): New enum.
+ (cp_parser_required_error): New function.
+ (cp_parser_require): Change the type of variable token_desc to
+ required_token and use cp_parser_required_error.
+ (cp_parser_require_keyword): Likewise.
+ (cp_parser_error): Use gmsgid as parameter.
+ (cp_parser_name_lookup_error): Change the type of variable desired to
+ name_lookup_error and put the diagnostic in the full sentences. Change
+ caller.
+ (cp_parser_non_integral_constant_expression): Change the type of the
+ variable thing to non_integral_constant and put the diagnostics in
+ full sentences. Change caller.
+
2010-05-24 Eric Botcazou <ebotcazou@adacore.com>
PR middle-end/44100