Commit a1ed3ba6 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(edebug-skip-whitespace): Only \n, not \r, ends a comment.

parent 9125da08
......@@ -1074,7 +1074,7 @@ Leave point after the value, if there is one."
"Leave point before the next token, skipping white space and comments."
(skip-chars-forward " \t\r\n\f")
(while (= (following-char) ?\;)
(skip-chars-forward "^\n\r") ; skip the comment
(skip-chars-forward "^\n") ; skip the comment
(skip-chars-forward " \t\r\n\f")))
(defun edebug-read-sexp ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment