Encountered end of file while matching a built-in macro.

#2124   Compile-time error

Encountered end of file while matching a built-in macro.

Additional Information

Expecting a 'X' character.
    where, as of OmniMark Release 2 Version 4, X is either ')', ']', or '}'.

Recovery

Compilation continues but no compiled source code file will be saved.

Explanation

The three bracketing characters, '(', '[', and '{' have a special meaning inside macro ARG parameters. They must always be paired with their respective closing character, and OmniMark will keep matching until it finds it. This allows nesting macros to be built without worrying about ARG parameter expansions containing other macros.