Formerly misc.c.~31~
authorRoland McGrath <roland@redhat.com>
Fri, 4 Mar 1994 05:10:20 +0000 (05:10 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 4 Mar 1994 05:10:20 +0000 (05:10 +0000)
misc.c

diff --git a/misc.c b/misc.c
index 977e7dcd8edfcd172ef4cb5bfd71bd07f14d211d..c5372ed14f4540a2dd649f847c2651cda33256b2 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -395,25 +395,9 @@ char *
 end_of_token (s)
      char *s;
 {
-  register char *p = s;
-  register int backslash = 0;
-
-  while (*p != '\0' && (backslash || !isblank (*p)))
-    {
-      if (*p++ == '\\')
-       {
-         backslash = !backslash;
-         while (*p == '\\')
-           {
-             backslash = !backslash;
-             ++p;
-           }
-       }
-      else
-       backslash = 0;
-    }
-
-  return p;
+  while (*s != '\0' && !isblank (*s))
+    ++s;
+  return s;
 }
 
 /* Return the address of the first nonwhitespace or null in the string S.  */