diff options
| author | Stefan Monnier | 2013-01-30 19:58:24 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-01-30 19:58:24 -0500 |
| commit | 9ca243c631deac62bbfa9d39df4a715e6e134aeb (patch) | |
| tree | 564d27e29634ba2b9c0859f629bca231ceec70c9 | |
| parent | 64ced394377394b764957bbb32b160726c9083b5 (diff) | |
| download | emacs-9ca243c631deac62bbfa9d39df4a715e6e134aeb.tar.gz emacs-9ca243c631deac62bbfa9d39df4a715e6e134aeb.zip | |
* lisp/progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments.
Fixes: debbugs:13585
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/pascal.el | 3 |
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 @@ | |||
| 1 | 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments | ||
| 4 | (bug#13585). | ||
| 5 | |||
| 1 | 2013-01-30 Juri Linkov <juri@jurta.org> | 6 | 2013-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) |