Variable: antlr-language-limit-n-regexp
antlr-language-limit-n-regexp is a customizable variable defined in
antlr-mode.el.gz.
Value
(8192 . "language[ ]*=[ ]*\\(\"?[A-Z][A-Za-z_]*\"?\\)")
Documentation
Used to set a reasonable value for antlr-language.
Looks like (LIMIT . REGEXP). Search for REGEXP from the beginning of
the buffer to LIMIT and use the first group in the matched string to set
the language according to antlr-language-alist.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defcustom antlr-language-limit-n-regexp
'(8192 . "language[ \t]*=[ \t]*\\(\"?[A-Z][A-Za-z_]*\"?\\)")
"Used to set a reasonable value for `antlr-language'.
Looks like \(LIMIT . REGEXP). Search for REGEXP from the beginning of
the buffer to LIMIT and use the first group in the matched string to set
the language according to `antlr-language-alist'."
:type '(cons (choice :tag "Limit" (const :tag "No" nil) (integer :value 0))
regexp))