]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/cpplex.c
cpplex.c: Fix trigraph replacement within strings.
[gcc.git] / gcc / cpplex.c
index a45336d1158db26806ef2a0ee1b60bdf598b8764..b0fba653a613fbaa99a478418b2852e1e649576f 100644 (file)
@@ -853,7 +853,7 @@ trigraph_replace (pfile, src, limit)
   /* Starting with src[1], find two consecutive '?'.  The case of no
      trigraphs is streamlined.  */
   
-  for (; src + 1 < limit; src += 2)
+  for (src++; src + 1 < limit; src += 2)
     {
       if (src[0] != '?')
        continue;
This page took 0.027668 seconds and 5 git commands to generate.