]> granicus.if.org Git - graphviz/commitdiff
Fix for bug 156
authorerg <devnull@localhost>
Wed, 13 Apr 2005 22:42:31 +0000 (22:42 +0000)
committererg <devnull@localhost>
Wed, 13 Apr 2005 22:42:31 +0000 (22:42 +0000)
cmd/lefty/dot2l/dotlex.c

index 4f2cad82b48f702ae707d72cfaf1d402493c4951..07c2166de91383ebc5e7aab9e56c391c2ec49efb 100644 (file)
@@ -243,7 +243,7 @@ static char *scan_token (char *p) {
     q = LexBuf;
     if (p == '\0')
         return NULL;
-    while (isalnum (*p) || (*p == '_'))
+    while (isalnum (*p) || (*p == '_') || (!isascii (*p)))
         *q++ = *p++;
     *q = '\0';
     return p;