aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/pascal.el3
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5c8237ee4aa..e71240efd97 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4 (bug#13585).
5
12013-01-30 Juri Linkov <juri@jurta.org> 62013-01-30 Juri Linkov <juri@jurta.org>
2 7
3 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen): 8 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index de8a4355cd3..829ecda5150 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -138,6 +138,9 @@
138 ;; find about the syntax of Pascal's comments said that (* ... } is 138 ;; find about the syntax of Pascal's comments said that (* ... } is
139 ;; a valid comment, just as { ... *) or (* ... *) or { ... }. 139 ;; a valid comment, just as { ... *) or (* ... *) or { ... }.
140 (modify-syntax-entry ?* ". 23" st) 140 (modify-syntax-entry ?* ". 23" st)
141 ;; Allow //...\n comments as accepted by Free Pascal (bug#13585).
142 (modify-syntax-entry ?/ ". 12c" st)
143 (modify-syntax-entry ?\n "> c" st)
141 (modify-syntax-entry ?{ "<" st) 144 (modify-syntax-entry ?{ "<" st)
142 (modify-syntax-entry ?} ">" st) 145 (modify-syntax-entry ?} ">" st)
143 (modify-syntax-entry ?+ "." st) 146 (modify-syntax-entry ?+ "." st)