Syntax Error.

#3023   Compile-time error or run-time catchable error

Syntax Error.

Additional Information

Expecting 'X', but received 'Y'.
    or
Expecting a simple pattern, but received a complex pattern.
    When the compiler complains that a pattern is too complex, the pattern should be placed inside parentheses.
    or
'UL' does not apply to the 'X' pattern.
    where X is any of the predefined character classes: 'any', 'any-text', 'blank', 'digit', 'lc', 'letter', 'space', or 'uc'.
    or
A 'USING-X' action must have an explicit index.
    where X is either 'COUNTER', 'STREAM, or 'SWITCH'.
    or
Can't refer to 'X' outside a repeat-over block.
    where X is either 'counter #ITEM', 'switch #FIRST', or 'switch #LAST'.

Recovery

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

Explanation

The entered text does not conform to the syntax of the OmniMark language. These are the most common messages that occur under this heading, but there are many more in OmniMark that are presumably self-explanatory.