changeset 57959:47b64fe4daa8

(edebug-next-token-class): Allow all symbol-constituent characters after dot, not only digits.
author Juri Linkov <juri@jurta.org>
date Fri, 05 Nov 2004 19:07:07 +0000
parents 117144126cd9
children 30f754d2119b 7a0245dd1848
files lisp/emacs-lisp/edebug.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/edebug.el	Fri Nov 05 19:06:24 2004 +0000
+++ b/lisp/emacs-lisp/edebug.el	Fri Nov 05 19:07:07 2004 +0000
@@ -714,8 +714,10 @@
   (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))))