[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111635: * lisp/progmodes/pascal.el (
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111635: * lisp/progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments. |
Date: |
Wed, 30 Jan 2013 19:58:24 -0500 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111635
fixes bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13585
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Wed 2013-01-30 19:58:24 -0500
message:
* lisp/progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments.
modified:
lisp/ChangeLog
lisp/progmodes/pascal.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2013-01-30 23:50:11 +0000
+++ b/lisp/ChangeLog 2013-01-31 00:58:24 +0000
@@ -1,3 +1,8 @@
+2013-01-31 Stefan Monnier <address@hidden>
+
+ * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
+ (bug#13585).
+
2013-01-30 Juri Linkov <address@hidden>
* frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
=== modified file 'lisp/progmodes/pascal.el'
--- a/lisp/progmodes/pascal.el 2013-01-01 09:11:05 +0000
+++ b/lisp/progmodes/pascal.el 2013-01-31 00:58:24 +0000
@@ -138,6 +138,9 @@
;; find about the syntax of Pascal's comments said that (* ... } is
;; a valid comment, just as { ... *) or (* ... *) or { ... }.
(modify-syntax-entry ?* ". 23" st)
+ ;; Allow //...\n comments as accepted by Free Pascal (bug#13585).
+ (modify-syntax-entry ?/ ". 12c" st)
+ (modify-syntax-entry ?\n "> c" st)
(modify-syntax-entry ?{ "<" st)
(modify-syntax-entry ?} ">" st)
(modify-syntax-entry ?+ "." st)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111635: * lisp/progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments.,
Stefan Monnier <=