Mercurial > emacs
comparison lisp/emacs-lisp/edebug.el @ 67357:ad09fcb8cef5
(edebug-skip-whitespace): read1:lread.c says
that comments end at \n, regardless of selective-display.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 06 Dec 2005 22:10:07 +0000 |
parents | 5b1a238fcbb4 |
children | 70e76c30ddcc |
comparison
equal
deleted
inserted
replaced
67356:568e3be4fb8c | 67357:ad09fcb8cef5 |
---|---|
731 | 731 |
732 (defun edebug-skip-whitespace () | 732 (defun edebug-skip-whitespace () |
733 ;; Leave point before the next token, skipping white space and comments. | 733 ;; Leave point before the next token, skipping white space and comments. |
734 (skip-chars-forward " \t\r\n\f") | 734 (skip-chars-forward " \t\r\n\f") |
735 (while (= (following-char) ?\;) | 735 (while (= (following-char) ?\;) |
736 ;; \r is counted as a comment terminator to support selective display. | 736 (skip-chars-forward "^\n") ; skip the comment |
737 (skip-chars-forward "^\n\r") ; skip the comment | |
738 (skip-chars-forward " \t\r\n\f"))) | 737 (skip-chars-forward " \t\r\n\f"))) |
739 | 738 |
740 | 739 |
741 ;; Mostly obsolete reader; still used in one case. | 740 ;; Mostly obsolete reader; still used in one case. |
742 | 741 |