@verbatim
MDB-DIR ::= DEFINITION *
-DEFINITION ::= '(' TAG0 [ TAG1 [ TAG2 [ TAG3 ] ] ] FILE ')'
+DEFINITION ::= '(' TAG0 [ TAG1 [ TAG2 [ TAG3 ] ] ] FILE [ VERSION ]')'
TAGn ::= SYMBOL
FILE ::= MTEXT
+
+VERSION ::= MTEXT
@endverbatim
If TAG0 is neither `charset' nor `char-table', and TAGn (n > 0) is a
element providing the actual TAGn values by the form:
@verbatim
-'(' TAG0 TAG1 TAG2 TAG3 ')'
+'(' TAG0 TAG1 TAG2 TAG3 [ VERSION ] ')'
@endverbatim
For instance, if a database directory contains these files:
(input-method * "*.mim")
@endverbatim
+VERSION is a required version number of the m17n library. The format
+is "XX.YY.ZZ" where XX is a major version number, YY is a minor
+version number, and ZZ is a patch level.
+
*/
/*
IM-DECLARATION ? DESCRIPTION ? VARIABLE-LIST ? COMMAND-LIST ?
TITLE MAP-LIST MACRO-LIST ? MODULE-LIST ? STATE-LIST
-IM-DECLARATION ::= '(' 'input-method' LANGUAGE NAME ')'
+IM-DECLARATION ::= '(' 'input-method' LANGUAGE NAME [ VERSION ] ')'
DESCRIPTION ::= '(' 'description' [ MTEXT-OR-GETTEXT | nil] ')'
VARIABLE-LIST ::= '(' 'variable' VARIABLE-DECLARATION * ')'
COMMAND-LIST ::= '(' 'command' COMMAND-DECLARATION * ')'
LANGUAGE ::= SYMBOL
NAME ::= SYMBOL
+VERSION ::= MTEXT
IM-DESCRIPTION ::= MTEXT
VAR-NAME ::= SYMBOL
VAR-DESCRIPTION ::= MTEXT
TITLE-TEXT ::= MTEXT
@endverbatim
+@c VERSION specifies the required minimum version number of the m17n
+library. The format is is "XX.YY.ZZ" where XX is a major version
+number, YY is a minor version number, and ZZ is a patch level.
+
@c IM-DECLARATION specifies the language and name of this input
method.