Variable: idlwave-block-matches

idlwave-block-matches is a variable defined in idlwave.el.gz.

Value

(("pro" . "end") ("function" . "end") ("case" . "endcase")
 ("else" . "endelse") ("for" . "endfor") ("then" . "endif")
 ("repeat" . "endrep") ("switch" . "endswitch") ("while" . "endwhile"))

Documentation

Matches between statements and the corresponding END variant.

The cars are the reserved words starting a block. If the block really begins with BEGIN, the cars are the reserved words before the begin which can be used to identify the block type. This is used to check for the correct END type, to close blocks and to expand generic end statements to their detailed form.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlwave.el.gz
(defconst idlwave-block-matches
  '(("pro"      . "end")
    ("function" . "end")
    ("case"     . "endcase")
    ("else"     . "endelse")
    ("for"      . "endfor")
    ("then"     . "endif")
    ("repeat"   . "endrep")
    ("switch"   . "endswitch")
    ("while"    . "endwhile"))
  "Matches between statements and the corresponding END variant.
The cars are the reserved words starting a block.  If the block really
begins with BEGIN, the cars are the reserved words before the begin
which can be used to identify the block type.
This is used to check for the correct END type, to close blocks and
to expand generic end statements to their detailed form.")