]> git.eshelyaron.com Git - emacs.git/commitdiff
(edebug-next-token-class): Allow all symbol-constituent characters
authorJuri Linkov <juri@jurta.org>
Fri, 5 Nov 2004 19:07:07 +0000 (19:07 +0000)
committerJuri Linkov <juri@jurta.org>
Fri, 5 Nov 2004 19:07:07 +0000 (19:07 +0000)
after dot, not only digits.

lisp/emacs-lisp/edebug.el

index 9a7b9efc333b9dbe9caf1cd9102a4bd77ee10ee4..0a6e3fed349bfe87698eaf384814c6667a6690c0 100644 (file)
@@ -714,8 +714,10 @@ already is one.)"
   (if (and (eq (following-char) ?.)
           (save-excursion
             (forward-char 1)
-            (and (>= (following-char) ?0)
-                 (<= (following-char) ?9))))
+            (or (and (eq (aref edebug-read-syntax-table (following-char))
+                         'symbol)
+                     (not (= (following-char) ?\;)))
+                (memq (following-char) '(?\, ?\.)))))
       'symbol
     (aref edebug-read-syntax-table (following-char))))