diff options
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 5 | ||||
-rw-r--r-- | libcpp/expr.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 8f7d494fc91..5929842a4ad 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2011-11-21 Ed Smith-Rowland <3dw4rd@verizon.net> + + PR c++/50958 + * expr.c (cpp_userdef_char_remove_type): Fix typo. + 2011-11-03 Michael Matz <matz@suse.de> PR bootstrap/50857 diff --git a/libcpp/expr.c b/libcpp/expr.c index 7bbc72d6f26..d56e56a6311 100644 --- a/libcpp/expr.c +++ b/libcpp/expr.c @@ -284,9 +284,9 @@ cpp_userdef_char_remove_type (enum cpp_ttype type) else if (type == CPP_WCHAR_USERDEF) return CPP_WCHAR; else if (type == CPP_CHAR16_USERDEF) - return CPP_STRING16; + return CPP_CHAR16; else if (type == CPP_CHAR32_USERDEF) - return CPP_STRING32; + return CPP_CHAR32; else return type; } |