;ELC   
;;; Compiled by rms@psilocin.ai.mit.edu on Sat Mar 14 02:58:32 1998
;;; from file /gd/gnu/emacs/lisp/progmodes/simula.el
;;; in Emacs version 20.2.89.9
;;; with bytecomp version 2.38
;;; with all optimizations.
;;; This file uses opcodes which do not exist in Emacs 18.

(if (and (boundp 'emacs-version)
	 (< (aref emacs-version (1- (length emacs-version))) ?A)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19.29")))
    (error "`simula.el' was compiled for Emacs 19.29 or later"))


(custom-declare-group 'simula nil "Major mode for editing Simula code." :prefix "simula-" :group 'languages)
#@175 Non-nil means TAB in SIMULA mode should always reindent the current line.
Otherwise TAB indents only when point is within
the run of whitespace at the beginning of the line.
(defconst simula-tab-always-indent-default nil (#$ . 650))
#@176 *Non-nil means TAB in SIMULA mode should always reindent the current line.
Otherwise TAB indents only when point is within
the run of whitespace at the beginning of the line.
(custom-declare-variable 'simula-tab-always-indent 'simula-tab-always-indent-default '(#$ . -890) :type 'boolean :group 'simula)
#@68 Indentation of SIMULA statements with respect to containing block.
(defconst simula-indent-level-default 3 (#$ . 1200))
#@69 *Indentation of SIMULA statements with respect to containing block.
(custom-declare-variable 'simula-indent-level 'simula-indent-level-default '(#$ . -1326) :type 'integer :group 'simula)
#@61 Extra indentation after DO, THEN, ELSE, WHEN and OTHERWISE.
(defconst simula-substatement-offset-default 3 (#$ . 1520))
#@62 *Extra indentation after DO, THEN, ELSE, WHEN and OTHERWISE.
(custom-declare-variable 'simula-substatement-offset 'simula-substatement-offset-default '(#$ . -1646) :type 'integer :group 'simula)
#@239 Extra indentation for lines not starting a statement or substatement.
If value is a list, each line in a multipleline continued statement
will have the car of the list extra indentation with respect to
the previous line of the statement.
(defconst simula-continued-statement-offset-default 3 (#$ . 1848))
#@240 *Extra indentation for lines not starting a statement or substatement.
If value is a list, each line in a multipleline continued statement
will have the car of the list extra indentation with respect to
the previous line of the statement.
(custom-declare-variable 'simula-continued-statement-offset 'simula-continued-statement-offset-default '(#$ . -2160) :type 'integer :group 'simula)
#@61 Offset of SIMULA label lines relative to usual indentation.
(defconst simula-label-offset-default -4711 (#$ . 2553))
#@62 *Offset of SIMULA label lines relative to usual indentation.
(custom-declare-variable 'simula-label-offset 'simula-label-offset-default '(#$ . -2676) :type 'integer :group 'simula)
#@208 Extra indentation of THEN and ELSE with respect to the starting IF.
Value is a cons cell, the car is extra THEN indentation and the cdr
extra ELSE indentation.  IF after ELSE is indented as the starting IF.
(defconst simula-if-indent-default '(0 . 0) (#$ . 2864))
#@209 *Extra indentation of THEN and ELSE with respect to the starting IF.
Value is a cons cell, the car is extra THEN indentation and the cdr
extra ELSE indentation.  IF after ELSE is indented as the starting IF.
(custom-declare-variable 'simula-if-indent 'simula-if-indent-default '(#$ . -3135) :type '(cons integer integer) :group 'simula)
#@167 Extra indentation of WHEN and OTHERWISE with respect to the INSPECT.
Value is a cons cell, the car is extra WHEN indentation
and the cdr extra OTHERWISE indentation.
(defconst simula-inspect-indent-default '(0 . 0) (#$ . 3479))
#@168 *Extra indentation of WHEN and OTHERWISE with respect to the INSPECT.
Value is a cons cell, the car is extra WHEN indentation
and the cdr extra OTHERWISE indentation.
(custom-declare-variable 'simula-inspect-indent 'simula-inspect-indent-default '(#$ . -3714) :type '(cons integer integer) :group 'simula)
#@73 Non-nil means `simula-indent-line' function may reindent previous line.
(defconst simula-electric-indent-default nil (#$ . 4026))
#@74 *Non-nil means `simula-indent-line' function may reindent previous line.
(custom-declare-variable 'simula-electric-indent 'simula-electric-indent-default '(#$ . -4162) :type 'boolean :group 'simula)
#@175 Specify how to convert case for SIMULA keywords.
Value is one of the symbols `upcase', `downcase', `capitalize',
(as in) `abbrev-table' or nil if they should not be changed.
(defconst simula-abbrev-keyword-default 'upcase (#$ . 4368))
#@176 *Specify how to convert case for SIMULA keywords.
Value is one of the symbols `upcase', `downcase', `capitalize',
(as in) `abbrev-table' or nil if they should not be changed.
(custom-declare-variable 'simula-abbrev-keyword 'simula-abbrev-keyword-default '(#$ . -4610) :type '(choice (const upcase) (const downcase) (const capitalize) (const nil)) :group 'simula)
#@202 Specify how to convert case for standard SIMULA procedure and class names.
Value is one of the symbols `upcase', `downcase', `capitalize',
(as in) `abbrev-table', or nil if they should not be changed.
(defconst simula-abbrev-stdproc-default 'abbrev-table (#$ . 4980))
#@203 *Specify how to convert case for standard SIMULA procedure and class names.
Value is one of the symbols `upcase', `downcase', `capitalize',
(as in) `abbrev-table', or nil if they should not be changed.
(custom-declare-variable 'simula-abbrev-stdproc 'simula-abbrev-stdproc-default '(#$ . -5255) :type '(choice (const upcase) (const downcase) (const capitalize) (const abbrev-table) (const nil)) :group 'simula)
#@228 *File with extra abbrev definitions for use in SIMULA mode.
These are used together with the standard abbrev definitions for SIMULA.
Please note that the standard definitions are required
for SIMULA mode to function correctly.
(custom-declare-variable 'simula-abbrev-file 'nil '(#$ . -5673) :type '(choice file (const nil)) :group 'simula)
#@38 Syntax table in SIMULA mode buffers.
(defvar simula-mode-syntax-table nil (#$ . 6019))
#@45 Subdued level highlighting for Simula mode.
(defconst simula-font-lock-keywords-1 (list '(simula-match-string-or-comment 0 (if (match-beginning 1) font-lock-string-face font-lock-comment-face)) '("^%\\([^ 	\n].*\\)" 1 font-lock-constant-face) '("\\<\\(class\\|procedure\\)\\>[ 	]*\\(\\sw+\\)?" (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t))) (#$ . 6112))
#@44 Medium level highlighting for Simula mode.
(defconst simula-font-lock-keywords-2 (byte-code "\301\302\303\304\305BE\"\207" [simula-font-lock-keywords-1 append ("\\<\\(false\\|none\\|notext\\|true\\)\\>" . font-lock-constant-face) "\\<\\(a\\(ctivate\\|fter\\|nd\\|t\\)\\|be\\(fore\\|gin\\)\\|d\\(elay\\|o\\)\\|e\\(lse\\|nd\\|qv?\\|xternal\\)\\|for\\|g\\([eot]\\|oto\\)\\|hidden\\|i\\([fns]\\|mp\\|n\\(ner\\|spect\\)\\)\\|l\\([et]\\|abel\\)\\|n\\(ew?\\|ot\\)\\|o\\(r\\|therwise\\)\\|pr\\(ior\\|otected\\)\\|qua\\|reactivate\\|s\\(tep\\|witch\\)\\|t\\(h\\(en\\|is\\)\\|o\\)\\|until\\|virtual\\|wh\\(en\\|ile\\)\\)\\>" "\\<\\(array\\|boolean\\|character\\|integer\\|long\\|name\\|real\\|short\\|text\\|value\\|ref\\)\\>" font-lock-type-face] 6) (#$ . 6493))
#@43 Gaudy level highlighting for Simula mode.
(defconst simula-font-lock-keywords-3 (byte-code "\301\302\303\304D\305E\"\207" [simula-font-lock-keywords-2 append ("\\<\\(\\sw+\\)[ 	]+class\\>" 1 font-lock-function-name-face) "\\<\\(array\\|boolean\\|character\\|integer\\|long\\|name\\|real\\|short\\|text\\|value\\)\\>\\([ 	]+\\sw+\\>\\)*" (font-lock-match-c-style-declaration-item-and-skip-to-next (goto-char (or (match-beginning 2) (match-end 1))) (goto-char (match-end 1)) (1 font-lock-variable-name-face)) ("\\<\\(ref\\)\\>[ 	]*\\((\\(\\sw+\\))\\)?" (3 font-lock-function-name-face nil t) (font-lock-match-c-style-declaration-item-and-skip-to-next nil nil (1 font-lock-variable-name-face)))] 5) (#$ . 7254))
#@50 Default expressions to highlight in Simula mode.
(defvar simula-font-lock-keywords simula-font-lock-keywords-1 (#$ . 7970))
#@427 A list of features extant in the Emacs you are using.
There are many flavors of Emacs out there, each with different
features supporting those needed by simula-mode.  Here's the current
supported list, along with the values for this variable:

 Emacs 19:                  (v19 FSF 1-bit)
 Vanilla Emacs 18/Epoch 4:  (v18 no-dual-comments)
 Emacs 18/Epoch 4 (patch2): (v18 8-bit)
 Lucid Emacs 19:            (v19 Lucid 8-bit).
(defconst simula-emacs-features (byte-code "\306\300!\205 \306\301!\205 	\307\211\211\203 \f\2048 \310\311\"\2038 \312\313\224\313\225O!\312\314\224\314\225O!\203@ \f\204D \315\316!\210\317U\203O \320\202x \321U\203Z \320\202x \322Y\203s \323\310\324\"\203n \325\202o \326\202x \315\327\"\210\nE,\207" [emacs-major-version emacs-minor-version comments flavor minor major boundp nil string-match "\\([0-9]+\\).\\([0-9]+\\)" string-to-int 1 2 error "Cannot figure out the major and minor version numbers." 18 v18 4 19 v19 "Lucid" Lucid FSF "Cannot recognize major version number: %s" emacs-version] 5) (#$ . 8101))
#@35 Lucid Emacs menu for SIMULA mode.
(defvar simula-mode-menu '(["Report Bug" simula-submit-bug-report t] ["Indent Line" simula-indent-line t] ["Backward Statement" simula-previous-statement t] ["Forward Statement" simula-next-statement t] ["Backward Up Level" simula-backward-up-level t] ["Forward Down Statement" simula-forward-down-level t]) (#$ . 9175))
(byte-code "\204] \301\302 !\303\304\305#\210\303\306\307#\210\303\310\307#\210\303\311\312#\210\303\313\314#\210\303\315\316#\210\303\317\320#\210\303\321\307#\210\303\322\307#\210\303\323\307#\210\303\324\325#\210\303\326\307#\210\303\327\307#\210\303\330\307#\210\301\207" [simula-mode-syntax-table copy-syntax-table standard-syntax-table modify-syntax-entry 33 "<" 36 "." 37 39 "\"" 40 "()" 41 ")(" 59 ">" 91 92 93 95 "_" 124 123 125] 4)
#@29 Keymap used in SIMULA mode.
(defvar simula-mode-map nil (#$ . 9994))
(byte-code "\204\272 \302 \303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\315#\210\303\316\317#\210\303\320\321#\210\303\322\323#\210\324	>\203\250 \303\325\302 #\210\303\326\327\302\327!B#\210\303\330\331#\210\303\332\333#\210\303\334\335#\210\303\336\337#\210\303\340\341#\210\303\342\343#\210\303\344\345#\210\303\346\347#\210\303\350\351#\210\352\313\353\354#\210\352\307\353\355#\210\352\311\353\356#\210\352\305\353\357#\210\352\323\353\360#\210\352\321\353\361#\210\362	>\203\272 \363\364!\204\272 \303\365\366#\210\302\207" [simula-mode-map simula-emacs-features make-sparse-keymap define-key "" simula-backward-up-level "" simula-previous-statement "" simula-forward-down-level "" simula-next-statement "" backward-delete-char-untabify ":" simula-electric-label "" simula-indent-exp "	" simula-indent-command FSF [menu-bar] [menu-bar simula] "SIMULA" [menu-bar simula bug-report] ("Submit Bug Report" . simula-submit-bug-report) [menu-bar simula separator-indent] ("--") [menu-bar simula indent-exp] ("Indent Expression" . simula-indent-exp) [menu-bar simula indent-line] ("Indent Line" . simula-indent-command) [menu-bar simula separator-navigate] ("--") [menu-bar simula backward-stmt] ("Previous Statement" . simula-previous-statement) [menu-bar simula forward-stmt] ("Next Statement" . simula-next-statement) [menu-bar simula backward-up] ("Backward Up Level" . simula-backward-up-level) [menu-bar simula forward-down] ("Forward Down Statement" . simula-forward-down-level) put menu-enable (not (eobp)) (not (bobp)) (not (eobp)) (not (bobp)) (not buffer-read-only) (not buffer-read-only) Lucid boundp mode-popup-menu button3 simula-popup-menu] 6)
#@26 Pops up the SIMULA menu.
(defalias 'simula-popup-menu #[(e) "\302\303P	B!\210\304 \207" [mode-name simula-mode-menu popup-menu " Mode Commands" simula-keep-region-active] 3 (#$ . 11791) "@e"])
(defalias 'simula-keep-region-active #[nil "\301\300!\205	 \302\211\207" [zmacs-region-stays boundp t] 2])
#@37 Abbrev table in SIMULA mode buffers
(defvar simula-mode-abbrev-table nil (#$ . 12099))
#@2232 Major mode for editing SIMULA code.
\{simula-mode-map}
Variables controlling indentation style:
 simula-tab-always-indent
    Non-nil means TAB in SIMULA mode should always reindent the current line,
    regardless of where in the line point is when the TAB command is used.
 simula-indent-level
    Indentation of SIMULA statements with respect to containing block.
 simula-substatement-offset
    Extra indentation after DO, THEN, ELSE, WHEN and OTHERWISE.
 simula-continued-statement-offset 3
    Extra indentation for lines not starting a statement or substatement,
    e.g. a nested FOR-loop.  If value is a list, each line in a multiple-
    line continued statement will have the car of the list extra indentation
    with respect to the previous line of the statement.
 simula-label-offset -4711
    Offset of SIMULA label lines relative to usual indentation.
 simula-if-indent '(0 . 0)
    Extra indentation of THEN and ELSE with respect to the starting IF.
    Value is a cons cell, the car is extra THEN indentation and the cdr
    extra ELSE indentation.  IF after ELSE is indented as the starting IF.
 simula-inspect-indent '(0 . 0)
    Extra indentation of WHEN and OTHERWISE with respect to the
    corresponding INSPECT.  Value is a cons cell, the car is
    extra WHEN indentation and the cdr extra OTHERWISE indentation.
 simula-electric-indent nil
    If this variable is non-nil, `simula-indent-line'
    will check the previous line to see if it has to be reindented.
 simula-abbrev-keyword 'upcase
    Determine how SIMULA keywords will be expanded.  Value is one of
    the symbols `upcase', `downcase', `capitalize', (as in) `abbrev-table',
    or nil if they should not be changed.
 simula-abbrev-stdproc 'abbrev-table
    Determine how standard SIMULA procedure and class names will be
    expanded.  Value is one of the symbols `upcase', `downcase', `capitalize',
    (as in) `abbrev-table', or nil if they should not be changed.

Turning on SIMULA mode calls the value of the variable simula-mode-hook
with no arguments, if that value is non-nil

Warning: simula-mode-hook should not read in an abbrev file without calling
the function simula-install-standard-abbrevs afterwards, preferably not
at all.
(defalias 'simula-mode #[nil "\306 \210\307!\210\310\311\312\303!\210\313\314\f!\210\312\305!\210\315\312\316!\210\312\317!\210\320\312\321!\210\322\312\323!\210\324\312\325!\210\326\312\327!\210\330\312\331!\210\332\312\333!\210\322\312\334!\210\335 \204x &\203l \336&!\210\202q \337\340\332\"\210\332'\341 \210) (\342\343!\210\344\345!\207" [simula-mode-map major-mode mode-name comment-column simula-mode-syntax-table paragraph-start kill-all-local-variables use-local-map simula-mode "SIMULA" make-local-variable 40 set-syntax-table "[ 	]*$\\|\\f" paragraph-separate indent-line-function simula-indent-line require-final-newline t comment-start "! " comment-end " ;" comment-start-skip "!+ *" parse-sexp-ignore-comments nil comment-multi-line font-lock-defaults ((simula-font-lock-keywords simula-font-lock-keywords-1 simula-font-lock-keywords-2 simula-font-lock-keywords-3) t t ((95 . "w"))) read-abbrev-file define-abbrev-table simula-mode-abbrev-table simula-install-standard-abbrevs abbrev-mode 1 run-hooks simula-mode-hook simula-abbrev-file abbrevs-changed local-abbrev-table] 3 (#$ . 12194) nil])
#@43 Indent SIMULA expression following point.
(defalias 'simula-indent-exp #[nil "`\303\211\304 \210m\203 \nb\2028 \305\216\306\307!\210\310 \311\307!\210\312y\210`W\2057 \313\314!\2041 \315 \210\307y\210\202\" )+\207" [end simula-electric-indent here nil simula-skip-comment-forward ((byte-code "\203	 \301\211\223\210\301\207" [end nil] 3)) simula-next-statement 1 point-marker simula-previous-statement 0 looking-at "[ 	]*$" simula-indent-line] 3 (#$ . 15569) nil])
#@109 Indent this line as SIMULA code.
If `simula-electric-indent' is non-nil, indent previous line if necessary.
(defalias 'simula-indent-line #[nil "d`Z\305 \306\307\216\2059 \310\210\311 \210\310y\210\312\313w\210\314\315!\2059 \316 ?\2059 \305 \317 \f=?\2058 \320 \210\fj),\207" [case-fold-search indent origin simula-electric-indent post-indent simula-calculate-indent t ((byte-code "dZb\210\302 	=\203 \303 \210\202 \304 \210	j\210\302\207" [origin indent current-indentation back-to-indentation delete-horizontal-space] 2)) 0 expand-abbrev " 	\f" nil looking-at "\\(end\\|if\\|then\\|else\\|when\\|otherwise\\)\\>" simula-context current-indentation delete-horizontal-space] 3 (#$ . 16049)])
#@451 Indent current line as SIMULA code, or insert TAB character.
If `simula-tab-always-indent' is non-nil, always indent current line.
Otherwise, indent only if point is before any non-whitespace
character on the line.

A numeric argument, regardless of its value, means indent rigidly
all the lines of the SIMULA statement after point so that this line
becomes properly indented.
The relative indentation among the lines of the statement are preserved.
(defalias 'simula-indent-command #[(&optional whole-exp) "\306	\204 \n\204 \212\307\310x\210n)\203\215 \212\311y\210\312 )\313 d`Z\212\307\310x\210n)\310\211\314\216=\203L \212\307\310x\210n)\203V \315 \210\202V \311y\210\316 \210j\210)`	\205\210 \212\317y\210`b\210\320\317!\210`\211\fV\205\207 =?\205\207 \321\fZ\322$).\202\217 \323 )\207" [case-fold-search whole-exp simula-tab-always-indent end beg bol t " 	\f" nil 0 simula-calculate-indent current-indentation ((byte-code "\204	 d	Zb\210\302\207" [bol origin nil] 2)) back-to-indentation delete-horizontal-space 1 simula-next-statement indent-code-rigidly "%" insert-tab origin current indent] 7 (#$ . 16758) "P"])
#@274 Returns value according to syntactic SIMULA context of point.
    0    point inside COMMENT comment
    1    point on SIMULA-compiler directive line
    2    point inside END comment
    3    point inside string
    4    point inside character constant
  nil    otherwise.
(defalias 'simula-context #[nil "\212\304y\210g)\305=\203 \306\207\212\307`\310ex\210\307o\204\217 \304y\210g\305=\204\200 `\nW\203| \311\307w\210\306u\210h\312=\203? `\202' h\313=\203\\ \314\307w\210g\312=\203V `\315\202' \306u\210\202' g\316=\203e \306u\210\317\307w\210g\312=\203v `\315\202' \306u\210\202' \203\217 \320\306!\210\310\307x\210`\307\202 *`W\203V\321\322\323#\203Vh\324>\203\342 \325\321\326\323#\203\303 h\327>\204\246 h\305=\203\275 \306y\210\307\211\204\246 hz\330=\203\220 gz\330=\203\220 \212\331\306!\210\332\333!\203\336 \307)\202\220 h\334>\203\304\335w\210	\203\220 `W\203\220 g\312=\203\307\211\202\357 n\203\306y\210\202\306u\210\335w\210\202\356 h\313=\203+\336\337\323#\204\220 \340\202\220 h\316=\203P`=\204;m\203@\341\202\220 \306u\210\336\342\323#\204\220 \341\202\220 \306y\210\202\220 	+\207" [origin return-value saved-point loopvalue 0 37 1 nil "^;" "^;\"'" 59 34 "^\";" t 39 "^';" backward-char re-search-forward "\\<end\\>\\|!\\|\"\\|'\\|^%\\|\\<comment\\>" move (100 68) 2 ";\\|\\<end\\>\\|\\<else\\>\\|\\<otherwise\\>\\|\\<when\\>\\|^%" (100 68) 119 backward-word looking-at "end\\>\\|else\\>\\|otherwise\\>\\|when\\>" (33 116 84) "^%;" search-forward "\"" 3 4 "'"] 5 (#$ . 17921)])
#@61 If this is a label that starts the line, reindent the line.
(defalias 'simula-electric-label #[nil "\304 \210\305c\210d`Z\306\307 \310\216\311C\"\211,\207" [next-char case-fold-search origin unread-command-events expand-abbrev 58 t read-event ((byte-code "\304>\204E \305>\204 \306=\203 	\204 g\307>\204E \310 \204E \311\312!\210\313\314x\210\315\314x\210\316\317!\204E \313\314x\210n\203E \320 \321 \210\nj\210)dZb\207" [next-char simula-tab-always-indent amount origin (61 45) (10 13) 9 (61 45) simula-context backward-char 1 " 	\f" nil "a-zA-Z0-9_" looking-at "virtual\\>" simula-calculate-indent delete-horizontal-space] 2)) append] 3 (#$ . 19470) nil])
#@97 Move backward up COUNT block levels.
If COUNT is negative, move forward up block level instead.
(defalias 'simula-backward-up-level #[(count) "`\302\303\304\305\217*\207" [case-fold-search origin t nil (byte-code "\301V\203' \301V\205O \302\303!\210\304 \204 g\305>\203  S\202\" T\211\202 \301W\205O \306\303!\210\307\310!\210\304 \204H g\311>\203E T\202G S\307\312!\210\202' \207" [count 0 re-search-backward "\\<begin\\>\\|\\<end\\>" simula-context (98 66) re-search-forward backward-word 1 (101 69) -1] 3) ((error (byte-code "b\210\301\302!\207" [origin error "No higher block level"] 2)) (quit (byte-code "b\210\301\302\303\"\207" [origin signal quit nil] 3)))] 3 (#$ . 20148) "p"])
#@101 Move forward down COUNT block levels.
If COUNT is negative, move backward down block level instead.
(defalias 'simula-forward-down-level #[(count) "`\304\305\306\307\217+\207" [count case-fold-search origin start-count t nil (byte-code "\302W\2031 \302W\205d \303\304!\210\305 \204# g\306>\203  T\202\" S	W\203 \307\310\311\"\210\202 \302V\205d \312\304!\210\313\314!\210\305 \204R g\315>\203O S\202Q T\313\316!\210	V\2031 \307\310\311\"\210\2021 \207" [count start-count 0 re-search-backward "\\<begin\\>\\|\\<end\\>" simula-context (101 69) signal error nil re-search-forward backward-word 1 (98 66) -1] 3) ((error (byte-code "b\210\301\302!\207" [origin error "No containing block level"] 2)) (quit (byte-code "b\210\301\302\303\"\207" [origin signal quit nil] 3)))] 3 (#$ . 20857) "p"])
#@77 Move backward COUNT statements.
If COUNT is negative, move forward instead.
(defalias 'simula-previous-statement #[(count) "\304W\203 \305[!\207\306\307`\306\310\311\217+\207" [count origin case-fold-search status 0 simula-next-statement nil t (byte-code "\302 \210h\303>\203 \304\305!\210\306\307!\204$ \304\310!\210\202$ h\311=\203$ \312\305!\210\313S\211!\2037 \314\315\316\317#\211\204$ 	\203K g\311=\203G \305u\210\202K \304\310!\210\320 \207" [count status simula-skip-comment-backward (110 78) backward-word 1 looking-at "\\<begin\\>" -1 59 backward-char natnump simula-search-backward ";\\|\\<begin\\>" nil move simula-skip-comment-forward] 4) ((error (byte-code "b\210\301\302!\207" [origin error "Incomplete statement (too many ENDs)"] 2)) (quit (byte-code "b\210\301\302\303\"\207" [origin signal quit nil] 3)))] 3 (#$ . 21673) "p"])
#@77 Move forward COUNT statements.
If COUNT is negative, move backward instead.
(defalias 'simula-next-statement #[(count) "\304W\203 \305[!\207\306\307`\306\310\311\217+\207" [count origin case-fold-search status 0 simula-previous-statement nil t (byte-code "\302 \210\303\304!\203\f \305v\210\306S\211!\203 \307\310d\311#\211\204\f 	\2050 h\312U?\2050 \313\305!\210\314 \207" [count status simula-skip-comment-forward looking-at "\\<end\\>" 1 natnump simula-search-forward ";\\|\\<end\\>" move 59 backward-word simula-skip-comment-backward] 4) ((error (byte-code "b\210\301\302!\207" [origin error "Incomplete statement (too few ENDs)"] 2)) (quit (byte-code "b\210\301\302\303\"\207" [origin signal quit nil] 3)))] 3 (#$ . 22536) "p"])
#@66 Search towards bob to find first char that is outside a comment.
(defalias 'simula-skip-comment-backward #[(&optional stop-at-end) "\300\301\215\207" [simula-out (byte-code "\302\303\302x\210h\304=\203$ \212\305\306!\210\307 	\203  \310=\203  \302)\202' \307 \311>\203T h\312=\203L g\313>\204L \212\314\302x\210\315\316!)\204L \314\302x\210\202 \317\320\302\"\210\202 \321=\203j \322\323!\203 \307 \324>\204Z \202 \306=\203\205 \321y\210o\203 \317\320\302\"\210\202 \305 \210\202 \310=\203 \322\325!\210\306v\210\317\320\302\"\210\202 " [context stop-at-end nil " 	\n\f" 59 backward-char 1 simula-context 2 (nil 3 4) 58 (45 61) ": 	\fa-zA-Z0-9_" looking-at "virtual\\>" throw simula-out 0 re-search-backward "!\\|\\<comment\\>" (0 1) "\\<end\\>"] 3)] 2 (#$ . 23288) nil])
#@66 Search towards eob to find first char that is outside a comment.
(defalias 'simula-skip-comment-forward #[nil "\300\301\215\207" [simula-out (byte-code "\300\301w\210\302\303!\203 \304\305\301\306#\210\202  n\203# g\307=\203# \310y\210\202  \302\311!\2036 \302\312!\2046 \313\301w\210\202  \314\315\316\"\210\202  " [" 	\n\f" nil looking-at "!\\|\\<comment\\>" search-forward ";" move 37 1 "[a-z0-9_]*[ 	\f]*:[^-=]" "virtual\\>" "a-zA-Z0-9_ 	\f:" throw simula-out t] 4)] 2 (#$ . 24084) nil])
(defalias 'simula-forward-up-level #[nil "\305`\305\306\211\211\2035 \307\310e\311#\203/ \312 h\313>\205\" \314>\211?\205* \315 \211\202 \306\211\204 	\203= \305\202A b\210\306-\207" [temp return-value case-fold-search origin continue-loop t nil re-search-backward "\\<begin\\>\\|\\<end\\>" move simula-context (100 68) (nil 2) simula-forward-up-level] 6])
(defalias 'simula-calculate-indent #[nil "\212\306 `\307\310\211\211\211\2117\2118\307=\203< \311\310x\210n\2040 \306 \307=\2030 \312\313!\210\202 \311\310w\210i7b\210\202]8\314=\203G \307\202]8\315=\203T \316\317!\202]8\320=\203a \316\321!\202]\322 \211\203l \n\202]\323\310w\210\324\325!\203 9[\326\202\326 \324\327!\203\252 g\330>\203\222 :@\202\244 g\331>\203\237 :A\202\244 \314v\210\307\332 \210\202\326 \324\333!\203\307 g\334>\203\275 ;@\202\301 ;A\335 \210\202\326 \324\336!\204\326 \324\337!\203\326 <\340\341!\210	\203h\342=\204h\343>\203\367 \212\344\314!\210\324\345!)?\202\370 \326\203\346\314!\210\340 \210\212\307y\210`)\212o?\205%hz\347=\203!\344\314!\210\324\350!?\202%h\351>?)n\204\\\312\352\353#\203\342\306 \204'g\211\342=\203G\346\314!\210\202\301\324\345!\203U9\\\202\301\324\325!\203e\314v\210\346\314!\210\202\301\324\354!\203v=\\\355 \210\202\301\324\356!\203\243\n\357>\203\210\314v\210\202\235=\\\n\360>\203\230:@\202\233:A\\\332 \210\202\301\324\361!\203\301=\\\n\362>\203\271:@\202\274:A\\\335 \210\f\203\326><\203\322>@\202\324>\\\212\307y\210`)\310\202'\306 ?\205\370\212\323\310w\210\324\363!\206\367\324\364!?)\f\n\203\365 \\\340 \210o?\205$hz\347=\203 \212\344\314!\210\324\350!)?\202$h\366>?\203-\f\2037\f\203H><\203H><\203D>@\202F>\\\n\204V\212\307y\210`)\202'\307y\210\202'.	\207" [prev-cont found-end temp start-line continued indent simula-context 0 nil " 	\n\f" re-search-backward "^\\|!\\|\\<comment\\>" 1 3 error "Inside string" 4 "Inside character constant" simula-inside-parens " 	\f" looking-at "end\\>" t "if\\>\\|then\\>\\|else\\>" (84 116) (69 101) simula-find-if "when\\>\\|otherwise\\>" (87 119) simula-find-inspect "virtual\\>" "[a-z0-9_]*[ 	\f]*:[^-=]" simula-skip-comment-backward dont-skip-end 59 (78 110) backward-word "begin\\>" simula-previous-statement 119 "begin\\|then\\|else\\|when\\|otherwise\\|do" (58 59) ";\\|\\<\\(begin\\|end\\|if\\|else\\|then\\|when\\|otherwise\\|do\\)\\>" move "do\\>" simula-find-do-match "\\(if\\|then\\|else\\)\\>" (73 105) (84 116) "\\<when\\>\\|\\<otherwise\\>" (87 119) "virtual" "!\\|comment\\>\\|[a-z0-9_]*[ 	\f]*:[^-=]" current-indentation (58 59) origin where simula-indent-level simula-if-indent simula-inspect-indent simula-label-offset simula-substatement-offset simula-continued-statement-offset] 9])
#@62 Find starting IF of a IF-THEN[-ELSE[-IF-THEN...]] statement.
(defalias 'simula-find-if #[nil "\300\301\215\207" [simula-out (byte-code "\300\301\302\303#\203, g\304>\203, \212\305 \210hz\306=\203# \307\310!\210\311\312!\204( \313\314\303\"\210)\202  \311\315!\2049 \316\317!\210\202  \313\314\303\"\210\202  " [simula-search-backward "\\<if\\>\\|;\\|\\<begin\\>" nil t (73 105) simula-skip-comment-backward 119 backward-word 1 looking-at "else\\>" throw simula-out "\\<if\\>" error "Missing IF or misplaced BEGIN or ';' (can't find IF)"] 4)] 2 (#$ . 27379)])
#@42 Find INSPECT matching WHEN or OTHERWISE.
(defalias 'simula-find-inspect #[nil "\300\301\215\207" [simula-out (byte-code "\301\302\303\304\305#\2030 g\306U\2040 g\307>\203 T\202 \301U\203* \310\311\305\"\210\202 S\202 \312\313!\210\202 " [level 0 simula-search-backward "\\<inspect\\>\\|\\<otherwise\\>\\|;" nil t 59 (79 111) throw simula-out error "Missing INSPECT or misplaced ';' (can't find INSPECT)"] 4)] 2 (#$ . 27944)])
#@55 Find keyword matching DO: FOR, WHILE, INSPECT or WHEN
(defalias 'simula-find-do-match #[nil "\300\301\302\303#\203 \304 \204  \305\306!\205 \304 ??\205 \307\310!\207" [re-search-backward "\\<\\(do\\|for\\|while\\|inspect\\|when\\|end\\|begin\\)\\>\\|;" nil move simula-context looking-at "\\<\\(for\\|while\\|inspect\\|when\\)\\>" error "No matching FOR, WHILE or INSPECT for DO, or misplaced ';'"] 4 (#$ . 28387)])
#@73 Return position after `(' on line if inside parentheses, nil otherwise.
(defalias 'simula-inside-parens #[nil "\212\301\302\303\215*\207" [parlevel 0 simula-out (byte-code "\301\302\303\304#\203K \305 \303=\203  g\306=\203* \307U\203# \310\311\303\"\210\202  \312\313!\210\202  g\314=\203E \307U\203? \310\311iT\"\210\202  S\202  T\202  \310\311\303\"\210\202  " [parlevel re-search-backward "(\\|)\\|;" nil t simula-context 59 0 throw simula-out error "Parenthesis mismatch or misplaced ';'" 40] 4)] 2 (#$ . 28812)])
#@59 Goto point of definition of variable, procedure or class.
(defalias 'simula-goto-definition #[nil "\300\207" [nil] 1 (#$ . 29343) nil])
(defalias 'simula-expand-stdproc #[nil "\203	 \303 \203\f \304 \207\305=\203 \306\307!\207\310=\203  \311\307!\207\312=\203* \313\307!\207\314=\205? \315	!\n\232?\205? \311\307!\210\316 \207" [simula-abbrev-stdproc last-abbrev last-abbrev-text simula-context unexpand-abbrev upcase upcase-word -1 downcase downcase-word capitalize capitalize-word abbrev-table symbol-name expand-abbrev] 2])
(defalias 'simula-expand-keyword #[nil "\203	 \304 \203\f \305 \207\306=\203 \307\310!\207\311=\203  \312\310!\207\313=\203* \314\310!\207	\315=\205? \316\n!\232?\205? \312\310!\210\317 \207" [simula-abbrev-keyword simula-abbrev-stdproc last-abbrev last-abbrev-text simula-context unexpand-abbrev upcase upcase-word -1 downcase downcase-word capitalize capitalize-word abbrev-table symbol-name expand-abbrev] 2])
#@58 Expand SIMULA keyword.  If it starts the line, reindent.
(defalias 'simula-electric-keyword #[nil "\306=\211\203 \307\n\310\"\210\311\312!\210\313\310!\210\314 \315\211\2055 \f\316=\2055 hz\317=\2055 \212\320\310!\210\321\322!)?*\203> \323 \202{ \204H \323 \210\202l \324=\203U \325\326!\210\202l \327=\203b \330\326!\210\202l \331=\203l \332\326!\210d`Z\315\333\334\335\336\217+)\207" [this-command show-char last-command-char case-fold-search where simula-abbrev-keyword self-insert-command insert-char 1 sit-for 0 backward-char simula-context t 2 119 backward-word looking-at "end\\>" unexpand-abbrev upcase upcase-word -1 downcase downcase-word capitalize capitalize-word nil null (byte-code "hz\303=\203I \304\305!\210\306\307!\203- \212\310\305!\210\311 \203\" \312\305!\210\202, \313\314``\315 \\{\"\210)\316\317x\210n\203I \320 \211\321 =\204E \322 \210j\210)\202M \316\317w\210d	Zb\210\n\205Y \323\305!\207" [indent pos show-char 119 backward-word 1 looking-at "end\\>" simula-backward-up-level pos-visible-in-window-p sit-for message "Matches %s" window-width " 	\f" nil simula-calculate-indent current-indentation delete-horizontal-space delete-char] 6) ((quit (byte-code "dZb\207" [pos] 2))) pos] 4 (#$ . 30301)])
#@485 Search backward from point for regular expression REGEXP, ignoring matches
found inside SIMULA comments, string literals, and BEGIN..END blocks.
Set point to the end of the occurrence found, and return point.
An optional second argument BOUND bounds the search, it is a buffer position.
The match found must not extend after that position.  Optional third argument
NOERROR, if t, means if fail just return nil (no error).
If not nil and not t, move to limit of search and return nil.
(defalias 'simula-search-backward #[(regexp &optional bound noerror) "\306\211\211\307P\306`\n\310\311\215.\207" [regexp start-point match comb-regexp context end nil "\\|\\<end\\>" simula-backward (byte-code "\306	\307#\203\277 \310 \311\216\312 \211\313=\203% \314\f!\203  \315\202! \316\202H \317=\203F \314\f!\203; \314\320!\203; \315\202B \314\321!\205B \316\202H \313*\315=\203T \322\323`\"\210\316=\203  \324\325!\203\273 \306\326	\307#\203\230 \312 \211\313=\203\203 g\327>\203\203 S\202\224 \330>\203\224 g\331>\203\224 T)\202] \203\244 \315=\203\250 b\210\204\263 \332\333\fC\"\210\322\323\313\"\210\202] )\202  \203\313 \315=\203\317 b\210?\205\332 \332\333\fC\"\207" [comb-regexp bound save-match-data-internal context regexp match re-search-backward 1 match-data ((set-match-data save-match-data-internal)) simula-context nil looking-at t BLOCK 2 ";\\|\\<end\\>\\|\\<else\\>\\|\\<otherwise\\>\\|\\<when\\>" "\\<end\\>" throw simula-backward 0 natnump "\\<begin\\>\\|\\<end\\>" (98 66) (nil 2) (101 69) signal search-failed level noerror start-point] 5) begin] 6 (#$ . 31551)])
#@484 Search forward from point for regular expression REGEXP, ignoring matches
found inside SIMULA comments, string literals, and BEGIN..END blocks.
Set point to the end of the occurrence found, and return point.
An optional second argument BOUND bounds the search, it is a buffer position.
The match found must not extend after that position.  Optional third argument
NOERROR, if t, means if fail just return nil (no error).
If not nil and not t, move to limit of search and return nil.
(defalias 'simula-search-forward #[(regexp &optional bound noerror) "\306\211\211\307P\306`\n\310\311\215.\207" [regexp start-point match comb-regexp context end nil "\\|\\<begin\\>" simula-forward (byte-code "\306	\307#\203\262 \310 \311\216\212\312\224b\210\313 \211\204( \314\f!\203# \315\202$ \316\202A \317=\203? \314\f!\205; \314\320!\205; \315\202A \321+\315=\203M \322\323`\"\210\316=\203  \312\324!\203\256 \306\325	\307#\203\213 \313 \211\321=\203v T\202\207 \317=\203\207 h\326>\203\207 S)\202V \203\227 \315=\203\233 b\210\204\246 \327\330\fC\"\210\322\323\321\"\210\202V )\202  \203\276 \315=\203\302 b\210?\205\315 \327\330\fC\"\207" [comb-regexp bound save-match-data-internal context regexp match re-search-forward 1 match-data ((set-match-data save-match-data-internal)) 0 simula-context looking-at t BLOCK 2 ";\\|\\<end\\>\\|\\<else\\>\\|\\<otherwise\\>\\|\\<when\\>" nil throw simula-forward natnump "\\<begin\\>\\|\\<end\\>" (100 68) signal search-failed level noerror start-point] 5) begin] 6 (#$ . 33179)])
#@71 Define Simula keywords, procedures and classes in local abbrev table.
(defalias 'simula-install-standard-abbrevs #[nil "\300\301\302\"\207" [mapcar #[(args) "\302\303	#\207" [simula-mode-abbrev-table args apply define-abbrev] 4] (("abs" "Abs" simula-expand-stdproc) ("accum" "Accum" simula-expand-stdproc) ("activate" "ACTIVATE" simula-expand-keyword) ("addepsilon" "AddEpsilon" simula-expand-stdproc) ("after" "AFTER" simula-expand-keyword) ("and" "AND" simula-expand-keyword) ("arccos" "ArcCos" simula-expand-stdproc) ("arcsin" "ArcSin" simula-expand-stdproc) ("arctan" "ArcTan" simula-expand-stdproc) ("arctan2" "ArcTan2" simula-expand-stdproc) ("array" "ARRAY" simula-expand-keyword) ("at" "AT" simula-expand-keyword) ("before" "BEFORE" simula-expand-keyword) ("begin" "BEGIN" simula-expand-keyword) ("blanks" "Blanks" simula-expand-stdproc) ("boolean" "BOOLEAN" simula-expand-keyword) ("breakoutimage" "BreakOutImage" simula-expand-stdproc) ("bytefile" "ByteFile" simula-expand-stdproc) ("call" "Call" simula-expand-stdproc) ("cancel" "Cancel" simula-expand-stdproc) ("cardinal" "Cardinal" simula-expand-stdproc) ("char" "Char" simula-expand-stdproc) ("character" "CHARACTER" simula-expand-keyword) ("checkpoint" "CheckPoint" simula-expand-stdproc) ("class" "CLASS" simula-expand-keyword) ("clear" "Clear" simula-expand-stdproc) ("clocktime" "ClockTime" simula-expand-stdproc) ("close" "Close" simula-expand-stdproc) ("comment" "COMMENT" simula-expand-keyword) ("constant" "Constant" simula-expand-stdproc) ("copy" "Copy" simula-expand-stdproc) ("cos" "Cos" simula-expand-stdproc) ("cosh" "CosH" simula-expand-stdproc) ("cotan" "CoTan" simula-expand-stdproc) ("cputime" "CpuTime" simula-expand-stdproc) ("current" "Current" simula-expand-stdproc) ("datetime" "DateTime" simula-expand-stdproc) ("decimalmark" "DecimalMark" simula-expand-stdproc) ("delay" "DELAY" simula-expand-keyword) ("deleteimage" "DeleteImage" simula-expand-stdproc) ("detach" "Detach" simula-expand-stdproc) ("digit" "Digit" simula-expand-stdproc) ("directbytefile" "DirectByteFile" simula-expand-stdproc) ("directfile" "DirectFile" simula-expand-stdproc) ("discrete" "Discrete" simula-expand-stdproc) ("do" "DO" simula-expand-keyword) ("downcase" "Downcase" simula-expand-stdproc) ("draw" "Draw" simula-expand-stdproc) ("eject" "Eject" simula-expand-stdproc) ("else" "ELSE" simula-electric-keyword) ("empty" "Empty" simula-expand-stdproc) ("end" "END" simula-electric-keyword) ("endfile" "Endfile" simula-expand-stdproc) ("entier" "Entier" simula-expand-stdproc) ("eq" "EQ" simula-expand-keyword) ("eqv" "EQV" simula-expand-keyword) ("erlang" "Erlang" simula-expand-stdproc) ("error" "Error" simula-expand-stdproc) ("evtime" "EvTime" simula-expand-stdproc) ("exp" "Exp" simula-expand-stdproc) ("external" "EXTERNAL" simula-expand-keyword) ("false" "FALSE" simula-expand-keyword) ("field" "Field" simula-expand-stdproc) ("file" "File" simula-expand-stdproc) ("first" "First" simula-expand-stdproc) ("follow" "Follow" simula-expand-stdproc) ("for" "FOR" simula-expand-keyword) ("ge" "GE" simula-expand-keyword) ("getchar" "GetChar" simula-expand-stdproc) ("getfrac" "GetFrac" simula-expand-stdproc) ("getint" "GetInt" simula-expand-stdproc) ("getreal" "GetReal" simula-expand-stdproc) ("go" "GO" simula-expand-keyword) ("goto" "GOTO" simula-expand-keyword) ("gt" "GT" simula-expand-keyword) ("head" "Head" simula-expand-stdproc) ("hidden" "HIDDEN" simula-expand-keyword) ("histd" "HistD" simula-expand-stdproc) ("histo" "Histo" simula-expand-stdproc) ("hold" "Hold" simula-expand-stdproc) ("idle" "Idle" simula-expand-stdproc) ("if" "IF" simula-expand-keyword) ("image" "Image" simula-expand-stdproc) ("imagefile" "ImageFile" simula-expand-stdproc) ("imp" "IMP" simula-expand-keyword) ("in" "IN" simula-expand-keyword) ("inbyte" "InByte" simula-expand-stdproc) ("inbytefile" "InByteFile" simula-expand-stdproc) ("inchar" "InChar" simula-expand-stdproc) ("infile" "InFile" simula-expand-stdproc) ("infrac" "InFrac" simula-expand-stdproc) ("inimage" "InImage" simula-expand-stdproc) ("inint" "InInt" simula-expand-stdproc) ("inner" "INNER" simula-expand-keyword) ("inreal" "InReal" simula-expand-stdproc) ("inrecord" "InRecord" simula-expand-stdproc) ("inspect" "INSPECT" simula-expand-keyword) ("integer" "INTEGER" simula-expand-keyword) ("intext" "InText" simula-expand-stdproc) ("into" "Into" simula-expand-stdproc) ("is" "IS" simula-expand-keyword) ("isochar" "ISOChar" simula-expand-stdproc) ("isopen" "IsOpen" simula-expand-stdproc) ("isorank" "ISORank" simula-expand-stdproc) ("label" "LABEL" simula-expand-keyword) ("last" "Last" simula-expand-stdproc) ("lastitem" "LastItem" simula-expand-stdproc) ("lastloc" "LastLoc" simula-expand-stdproc) ("le" "LE" simula-expand-keyword) ("length" "Length" simula-expand-stdproc) ("letter" "Letter" simula-expand-stdproc) ("line" "Line" simula-expand-stdproc) ("linear" "Linear" simula-expand-stdproc) ("linesperpage" "LinesPerPage" simula-expand-stdproc) ("link" "Link" simula-expand-stdproc) ("linkage" "Linkage" simula-expand-stdproc) ("ln" "Ln" simula-expand-stdproc) ("locate" "Locate" simula-expand-stdproc) ("location" "Location" simula-expand-stdproc) ("lock" "Lock" simula-expand-stdproc) ("locked" "Locked" simula-expand-stdproc) ("log10" "Log10" simula-expand-stdproc) ("long" "LONG" simula-expand-keyword) ("lowcase" "LowCase" simula-expand-stdproc) ("lowerbound" "LowerBound" simula-expand-stdproc) ("lowten" "LowTen" simula-expand-stdproc) ("lt" "LT" simula-expand-keyword) ("main" "Main" simula-expand-stdproc) ("max" "Max" simula-expand-stdproc) ("maxint" "MaxInt" simula-expand-stdproc) ("maxlongreal" "MaxLongReal" simula-expand-stdproc) ("maxloc" "MaxLoc" simula-expand-stdproc) ("maxrank" "MaxRank" simula-expand-stdproc) ("maxreal" "MaxReal" simula-expand-stdproc) ("min" "Min" simula-expand-stdproc) ("minint" "MinInt" simula-expand-stdproc) ("minlongreal" "MinLongReal" simula-expand-stdproc) ("minrank" "MinRank" simula-expand-stdproc) ("minreal" "MinReal" simula-expand-stdproc) ("mod" "Mod" simula-expand-stdproc) ("more" "More" simula-expand-stdproc) ("name" "NAME" simula-expand-keyword) ("ne" "NE" simula-expand-keyword) ("negexp" "NegExp" simula-expand-stdproc) ("new" "NEW" simula-expand-keyword) ("nextev" "NextEv" simula-expand-stdproc) ("none" "NONE" simula-expand-keyword) ("normal" "Normal" simula-expand-stdproc) ("not" "NOT" simula-expand-keyword) ("notext" "NOTEXT" simula-expand-keyword) ("open" "Open" simula-expand-stdproc) ("or" "OR" simula-expand-keyword) ("otherwise" "OTHERWISE" simula-electric-keyword) ("out" "Out" simula-expand-stdproc) ("outbyte" "OutByte" simula-expand-stdproc) ("outbytefile" "OutByteFile" simula-expand-stdproc) ("outchar" "OutChar" simula-expand-stdproc) ("outfile" "OutFile" simula-expand-stdproc) ("outfix" "OutFix" simula-expand-stdproc) ("outfrac" "OutFrac" simula-expand-stdproc) ("outimage" "OutImage" simula-expand-stdproc) ("outint" "OutInt" simula-expand-stdproc) ("outreal" "OutReal" simula-expand-stdproc) ("outrecord" "OutRecord" simula-expand-stdproc) ("outtext" "OutText" simula-expand-stdproc) ("page" "Page" simula-expand-stdproc) ("passivate" "Passivate" simula-expand-stdproc) ("poisson" "Poisson" simula-expand-stdproc) ("pos" "Pos" simula-expand-stdproc) ("precede" "Precede" simula-expand-stdproc) ("pred" "Pred" simula-expand-stdproc) ("prev" "Prev" simula-expand-stdproc) ("printfile" "PrintFile" simula-expand-stdproc) ("prior" "PRIOR" simula-expand-keyword) ("procedure" "PROCEDURE" simula-expand-keyword) ("process" "Process" simula-expand-stdproc) ("protected" "PROTECTED" simula-expand-keyword) ("putchar" "PutChar" simula-expand-stdproc) ("putfix" "PutFix" simula-expand-stdproc) ("putfrac" "PutFrac" simula-expand-stdproc) ("putint" "PutInt" simula-expand-stdproc) ("putreal" "PutReal" simula-expand-stdproc) ("qua" "QUA" simula-expand-keyword) ("randint" "RandInt" simula-expand-stdproc) ("rank" "Rank" simula-expand-stdproc) ("reactivate" "REACTIVATE" simula-expand-keyword) ("real" "REAL" simula-expand-keyword) ("ref" "REF" simula-expand-keyword) ("resume" "Resume" simula-expand-stdproc) ("setaccess" "SetAccess" simula-expand-stdproc) ("setpos" "SetPos" simula-expand-stdproc) ("short" "SHORT" simula-expand-keyword) ("sign" "Sign" simula-expand-stdproc) ("simset" "SimSet" simula-expand-stdproc) ("simulaid" "SimulaId" simula-expand-stdproc) ("simulation" "Simulation" simula-expand-stdproc) ("sin" "Sin" simula-expand-stdproc) ("sinh" "SinH" simula-expand-stdproc) ("sourceline" "SourceLine" simula-expand-stdproc) ("spacing" "Spacing" simula-expand-stdproc) ("sqrt" "Sqrt" simula-expand-stdproc) ("start" "Start" simula-expand-stdproc) ("step" "STEP" simula-expand-keyword) ("strip" "Strip" simula-expand-stdproc) ("sub" "Sub" simula-expand-stdproc) ("subepsilon" "SubEpsilon" simula-expand-stdproc) ("suc" "Suc" simula-expand-stdproc) ("switch" "SWITCH" simula-expand-keyword) ("sysin" "SysIn" simula-expand-stdproc) ("sysout" "SysOut" simula-expand-stdproc) ("tan" "Tan" simula-expand-stdproc) ("tanh" "TanH" simula-expand-stdproc) ("terminate_program" "Terminate_Program" simula-expand-stdproc) ("terminated" "Terminated" simula-expand-stdproc) ("text" "TEXT" simula-expand-keyword) ("then" "THEN" simula-electric-keyword) ("this" "THIS" simula-expand-keyword) ("time" "Time" simula-expand-stdproc) ("to" "TO" simula-expand-keyword) ("true" "TRUE" simula-expand-keyword) ("uniform" "Uniform" simula-expand-stdproc) ("unlock" "Unlock" simula-expand-stdproc) ("until" "UNTIL" simula-expand-keyword) ("upcase" "Upcase" simula-expand-stdproc) ("upperbound" "UpperBound" simula-expand-stdproc) ("value" "VALUE" simula-expand-keyword) ("virtual" "VIRTUAL" simula-expand-keyword) ("wait" "Wait" simula-expand-stdproc) ("when" "WHEN" simula-electric-keyword) ("while" "WHILE" simula-expand-keyword))] 3 (#$ . 34744) nil])
(defalias 'simula-match-string-or-comment #[(limit) "\301\302\303#\205! \304\224\203  \305`\301\306\307#\203 \310\224\202 `D!\210\303\207" [limit re-search-forward "\\(\"[^\"\n]*\"\\|'\\(.\\|![0-9]+!\\)'\\)\\|\\(\\<end[ 	\n]+\\)\\|^%[ 	].*\\|\\(!\\|\\<comment\\>\\)[^;]*;?" t 3 set-match-data "\\<\\(end\\|else\\|when\\|otherwise\\)\\>\\|;" move 0] 6])
(byte-code "\301\302!\203 \303\300!\203 \304\305\"\204 \302\305\306\307\310$\210\307\207" [hilit-patterns-alist fboundp hilit-set-mode-patterns boundp assoc simula-mode (("^%\\([ 	\f].*\\)?$" nil comment) ("^%include\\>" nil include) ("\"[^\"\n]*\"\\|'.'\\|'![0-9]+!'" nil string) ("\\<\\(ACTIVATE\\|AFTER\\|AND\\|ARRAY\\|AT\\|BEFORE\\|BEGIN\\|BOOLEAN\\|CHARACTER\\|CLASS\\|DELAY\\|DO\\|ELSE\\|END\\|EQ\\|EQV\\|EXTERNAL\\|FALSE\\|FOR\\|GE\\|GO\\|GOTO\\|GT\\|HIDDEN\\|IF\\|IMP\\|IN\\|INNER\\|INSPECT\\|INTEGER\\|IS\\|LABEL\\|LE\\|LONG\\|LT\\|NAME\\|NE\\|NEW\\|NONE\\|NOT\\|NOTEXT\\|OR\\|OTHERWISE\\|PRIOR\\|PROCEDURE\\|PROTECTED\\|QUA\\|REACTIVATE\\|REAL\\|REF\\|SHORT\\|STEP\\|SWITCH\\|TEXT\\|THEN\\|THIS\\|TO\\|TRUE\\|UNTIL\\|VALUE\\|VIRTUAL\\|WHEN\\|WHILE\\)\\>" nil keyword) ("!\\|\\<COMMENT\\>" ";" comment)) nil case-insensitive] 5)
#@58 Address accepting submission of simula-mode bug reports.
(defconst simula-mode-help-address "simula-mode@ifi.uio.no" (#$ . 45797))
#@46 Submit via mail a bug report on simula-mode.
(defalias 'simula-submit-bug-report #[nil "\302\303!\205 \304\305	P\306\307\310\311\312\313\314\315\316\317\320\321\257\f#\207" [simula-mode-help-address emacs-version y-or-n-p "Do you want to submit a report on simula-mode? " reporter-submit-bug-report "simula-mode from Emacs " simula-emacs-features simula-indent-level simula-substatement-offset simula-continued-statement-offset simula-label-offset simula-if-indent simula-inspect-indent simula-electric-indent simula-abbrev-keyword simula-abbrev-stdproc simula-abbrev-file simula-tab-always-indent] 15 (#$ . 45934) nil])
(provide 'simula-mode)
