diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-12 17:03:41 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-12 17:03:41 +0000 |
commit | bfa57d81a1dd384739bbddb5daa8e5ea4b5433c1 (patch) | |
tree | d28eec236ec28a1f8e38ce27fe7bf5e62da85670 /libcpp/charset.c | |
parent | 24f1d2c4dcff1de943e875ebfc584e3dd155fd9c (diff) | |
download | gcc-bfa57d81a1dd384739bbddb5daa8e5ea4b5433c1.tar.gz |
2008-06-12 H.J. Lu <hongjiu.lu@intel.com>
PR preprocessor/36479
* charset.c (cpp_interpret_string_notranslate): Also set
narrow_cset_desc.width.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/charset.c')
-rw-r--r-- | libcpp/charset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcpp/charset.c b/libcpp/charset.c index d70d05cc020..73e55eef039 100644 --- a/libcpp/charset.c +++ b/libcpp/charset.c @@ -1412,6 +1412,7 @@ cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *from, pfile->narrow_cset_desc.func = convert_no_conversion; pfile->narrow_cset_desc.cd = (iconv_t) -1; + pfile->narrow_cset_desc.width = CPP_OPTION (pfile, char_precision); retval = cpp_interpret_string (pfile, from, count, to, CPP_STRING); |