aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gcc.gnu.org>2004-02-12 02:25:03 +0000
committerEric Christopher <echristo@gcc.gnu.org>2004-02-12 02:25:03 +0000
commit423e95e2042989aa21da2f47e67a657480eb38d5 (patch)
tree078b988fdbe26329da42a06d493915188710af26 /gcc/cpplib.c
parent1c86f39d32b95fe9de306d82f02a982bbad778b4 (diff)
downloadgcc-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/cpplib.c')
-rw-r--r--gcc/cpplib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 3165351..f2556b3 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -804,7 +804,8 @@ do_line (cpp_reader *pfile)
if (token->type == CPP_STRING)
{
cpp_string s = { 0, 0 };
- if (_cpp_interpret_string_notranslate (pfile, &token->val.str, &s))
+ if (cpp_interpret_string_notranslate (pfile, &token->val.str, 1,
+ &s, false))
new_file = (const char *)s.text;
check_eol (pfile);
}
@@ -855,7 +856,8 @@ do_linemarker (cpp_reader *pfile)
if (token->type == CPP_STRING)
{
cpp_string s = { 0, 0 };
- if (_cpp_interpret_string_notranslate (pfile, &token->val.str, &s))
+ if (cpp_interpret_string_notranslate (pfile, &token->val.str,
+ 1, &s, false))
new_file = (const char *)s.text;
new_sysp = 0;