* c-lex.c (lex_charconst): Fix typo: s/p/str.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Tue, 23 Jan 2001 23:18:43 +0000 (23:18 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 23 Jan 2001 23:18:43 +0000 (23:18 +0000)
From-SVN: r39215

gcc/ChangeLog
gcc/c-lex.c

index bf93aa421fb602be408c06ccbc8e578e59186514..e1e0c9e298073f831de8aaf5ea04b4303e639d3e 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * c-lex.c (lex_charconst): Fix typo: s/p/str.
+
 2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
        * rs6000.h (rs6000_return_addr): Move prototype from here...
index ddfee8dbd862a08e18e05815d11c2003b05704e7..358e5d1532be88d69fda557caee2ef620c800eec 100644 (file)
@@ -1643,7 +1643,7 @@ lex_charconst (str, len, wide)
        }
       else
        {
-         p += char_len;
+         str += char_len;
          c = wc;
        }
 #else