Mercurial > emacs
comparison lisp/progmodes/tcl.el @ 12405:abcf4791a9b0
(tcl-type-alist): More itcl changes.
author | Tom Tromey <tromey@redhat.com> |
---|---|
date | Tue, 27 Jun 1995 20:12:00 +0000 |
parents | cf59ada47a1c |
children | 4626f1d99c52 |
comparison
equal
deleted
inserted
replaced
12404:cf59ada47a1c | 12405:abcf4791a9b0 |
---|---|
4 | 4 |
5 ;; Maintainer: Tom Tromey <tromey@busco.lanl.gov> | 5 ;; Maintainer: Tom Tromey <tromey@busco.lanl.gov> |
6 ;; Author: Tom Tromey <tromey@busco.lanl.gov> | 6 ;; Author: Tom Tromey <tromey@busco.lanl.gov> |
7 ;; Chris Lindblad <cjl@lcs.mit.edu> | 7 ;; Chris Lindblad <cjl@lcs.mit.edu> |
8 ;; Keywords: languages tcl modes | 8 ;; Keywords: languages tcl modes |
9 ;; Version: $Revision: 1.33 $ | 9 ;; Version: $Revision: 1.34 $ |
10 | 10 |
11 ;; This file is part of GNU Emacs. | 11 ;; This file is part of GNU Emacs. |
12 | 12 |
13 ;; GNU Emacs is free software; you can redistribute it and/or modify | 13 ;; GNU Emacs is free software; you can redistribute it and/or modify |
14 ;; it under the terms of the GNU General Public License as published by | 14 ;; it under the terms of the GNU General Public License as published by |
49 ;;; Commentary: | 49 ;;; Commentary: |
50 | 50 |
51 ;; LCD Archive Entry: | 51 ;; LCD Archive Entry: |
52 ;; tcl|Tom Tromey|tromey@busco.lanl.gov| | 52 ;; tcl|Tom Tromey|tromey@busco.lanl.gov| |
53 ;; Major mode for editing Tcl| | 53 ;; Major mode for editing Tcl| |
54 ;; $Date: 1995/06/27 20:01:29 $|$Revision: 1.33 $|~/modes/tcl.el.Z| | 54 ;; $Date: 1995/06/27 20:06:05 $|$Revision: 1.34 $|~/modes/tcl.el.Z| |
55 | 55 |
56 ;; CUSTOMIZATION NOTES: | 56 ;; CUSTOMIZATION NOTES: |
57 ;; * tcl-proc-list can be used to customize a list of things that | 57 ;; * tcl-proc-list can be used to customize a list of things that |
58 ;; "define" other things. Eg in my project I put "defvar" in this | 58 ;; "define" other things. Eg in my project I put "defvar" in this |
59 ;; list. | 59 ;; list. |
63 ;; * tcl-type-alist can be used to minimally customize indentation | 63 ;; * tcl-type-alist can be used to minimally customize indentation |
64 ;; according to context. | 64 ;; according to context. |
65 | 65 |
66 ;; Change log: | 66 ;; Change log: |
67 ;; $Log: tcl.el,v $ | 67 ;; $Log: tcl.el,v $ |
68 ;; Revision 1.34 1995/06/27 20:06:05 tromey | |
69 ;; More changes for itcl. | |
70 ;; Bug fixes for Emacs 19.29. | |
71 ;; | |
68 ;; Revision 1.33 1995/06/27 20:01:29 tromey | 72 ;; Revision 1.33 1995/06/27 20:01:29 tromey |
69 ;; (tcl-set-proc-regexp): Allow leading spaces. | 73 ;; (tcl-set-proc-regexp): Allow leading spaces. |
70 ;; (tcl-proc-list): Changes for itcl. | 74 ;; (tcl-proc-list): Changes for itcl. |
71 ;; (tcl-typeword-list): Ditto. | 75 ;; (tcl-typeword-list): Ditto. |
72 ;; (tcl-keyword-list): Ditto. | 76 ;; (tcl-keyword-list): Ditto. |
307 (if (and (string-match "19\\." emacs-version) | 311 (if (and (string-match "19\\." emacs-version) |
308 (not (string-match "XEmacs" emacs-version))) | 312 (not (string-match "XEmacs" emacs-version))) |
309 (require 'imenu)) | 313 (require 'imenu)) |
310 ())) | 314 ())) |
311 | 315 |
312 (defconst tcl-version "$Revision: 1.33 $") | 316 (defconst tcl-version "$Revision: 1.34 $") |
313 (defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") | 317 (defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") |
314 | 318 |
315 ;; | 319 ;; |
316 ;; User variables. | 320 ;; User variables. |
317 ;; | 321 ;; |
627 ;; like 2 sexps. | 631 ;; like 2 sexps. |
628 (defvar tcl-type-alist | 632 (defvar tcl-type-alist |
629 '( | 633 '( |
630 ("proc" nil tcl-expr tcl-commands) | 634 ("proc" nil tcl-expr tcl-commands) |
631 ("method" nil tcl-expr tcl-commands) | 635 ("method" nil tcl-expr tcl-commands) |
636 ("destructor" tcl-commands) | |
637 ("constructor" tcl-commands) | |
632 ("expr" tcl-expr) | 638 ("expr" tcl-expr) |
633 ("catch" tcl-commands) | 639 ("catch" tcl-commands) |
634 ("if" tcl-expr "then" tcl-commands) | 640 ("if" tcl-expr "then" tcl-commands) |
635 ("elseif" tcl-expr "then" tcl-commands) | 641 ("elseif" tcl-expr "then" tcl-commands) |
636 ("elseif" tcl-expr tcl-commands) | 642 ("elseif" tcl-expr tcl-commands) |