Mercurial > emacs
comparison lisp/progmodes/delphi.el @ 27647:c8d739c1aaf0
Make resourcestring a declaration region, like const and var.
author | Ray Blaak <blaak@infomatch.com> |
---|---|
date | Wed, 09 Feb 2000 07:04:15 +0000 |
parents | 2dd8115a9f72 |
children | 6878c61d1877 |
comparison
equal
deleted
inserted
replaced
27646:b8928337c55a | 27647:c8d739c1aaf0 |
---|---|
63 ;;; Code: | 63 ;;; Code: |
64 | 64 |
65 (provide 'delphi) | 65 (provide 'delphi) |
66 | 66 |
67 (defconst delphi-version | 67 (defconst delphi-version |
68 (let ((revision "$Revision: 3.2 $")) | 68 (let ((revision "$Revision: 3.3 $")) |
69 (string-match ": \\([^ ]+\\)" revision) | 69 (string-match ": \\([^ ]+\\)" revision) |
70 (match-string 1 revision)) | 70 (match-string 1 revision)) |
71 "Version of this delphi mode.") | 71 "Version of this delphi mode.") |
72 ;;; $Log: delphi.el,v $ | 72 ;;; $Log: delphi.el,v $ |
73 ;;; Revision 3.3 2000/02/01 14:32:21 fx | |
74 ;;; (delphi): Add :version to defgroup. | |
75 ;;; | |
73 ;;; Revision 3.2 1999/08/18 05:08:39 blaak | 76 ;;; Revision 3.2 1999/08/18 05:08:39 blaak |
74 ;;; checked in with -k by blaak at 1999/08/18 05:08:39 | 77 ;;; checked in with -k by blaak at 1999/08/18 05:08:39 |
75 ;;; | 78 ;;; |
76 ;;; Revision 3.2 1999/08/04 05:09:19 blaak | 79 ;;; Revision 3.2 1999/08/04 05:09:19 blaak |
77 ;;; Consider assembly sections as blocks, to indent them better. | 80 ;;; Consider assembly sections as blocks, to indent them better. |
274 | 277 |
275 (defconst delphi-match-block-statements | 278 (defconst delphi-match-block-statements |
276 `(,@delphi-end-block-statements ,@delphi-mid-block-statements) | 279 `(,@delphi-end-block-statements ,@delphi-mid-block-statements) |
277 "Statements that match the indentation of the parent block.") | 280 "Statements that match the indentation of the parent block.") |
278 | 281 |
279 (defconst delphi-decl-sections '(type const var label) | 282 (defconst delphi-decl-sections '(type const var label resourcestring) |
280 "Denotes the start of a declaration section.") | 283 "Denotes the start of a declaration section.") |
281 | 284 |
282 (defconst delphi-class-types '(class object) | 285 (defconst delphi-class-types '(class object) |
283 "Class types.") | 286 "Class types.") |
284 | 287 |