diff options
author | Eric Christopher <echristo@gcc.gnu.org> | 2004-02-12 02:25:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2004-02-12 02:25:03 +0000 |
commit | 423e95e2042989aa21da2f47e67a657480eb38d5 (patch) | |
tree | 078b988fdbe26329da42a06d493915188710af26 /gcc/cppcharset.c | |
parent | 1c86f39d32b95fe9de306d82f02a982bbad778b4 (diff) | |
download | gcc-423e95e2042989aa21da2f47e67a657480eb38d5.zip gcc-423e95e2042989aa21da2f47e67a657480eb38d5.tar.gz gcc-423e95e2042989aa21da2f47e67a657480eb38d5.tar.bz2 |
cppcharset.c (_cpp_interpret_string_notranslate): Rename and duplicate argument structure of cpp_interpret_string.
2004-02-11 Eric Christopher <echristo@redhat.com>
* cppcharset.c (_cpp_interpret_string_notranslate): Rename and
duplicate argument structure of cpp_interpret_string.
* cpphash.h: Move prototype...
* cpplib.h: Here.
* cpplib.c: Fix calls to match new function signature.
From-SVN: r77688
Diffstat (limited to 'gcc/cppcharset.c')
-rw-r--r-- | gcc/cppcharset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cppcharset.c b/gcc/cppcharset.c index b73128d..b46f47a 100644 --- a/gcc/cppcharset.c +++ b/gcc/cppcharset.c @@ -1186,8 +1186,8 @@ cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t count, /* Subroutine of do_line and do_linemarker. Convert escape sequences in a string, but do not perform character set conversion. */ bool -_cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *in, - cpp_string *out) +cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *from, + size_t count, cpp_string *to, bool wide) { struct cset_converter save_narrow_cset_desc = pfile->narrow_cset_desc; bool retval; @@ -1195,7 +1195,7 @@ _cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *in, pfile->narrow_cset_desc.func = convert_no_conversion; pfile->narrow_cset_desc.cd = (iconv_t) -1; - retval = cpp_interpret_string (pfile, in, 1, out, false); + retval = cpp_interpret_string (pfile, from, count, to, wide); pfile->narrow_cset_desc = save_narrow_cset_desc; return retval; |