swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
 

#2035   Compile-time error  

 

A pattern that will cause an infinite loop was detected.

Additional Information

The current pattern repeats with a X, but never fails.
    where X is either "+" or "*".

Explanation

This error occurs for only obvious OmniMark patterns. For example, the pattern FIND (WHITE-SPACE* OR "fish")* will cause OmniMark to loop. This error is detected, because OmniMark can detect that it is being asked to match zero or more white-space characters as many times as possible. The pattern FIND ((WHEN VALUE 1 IS EQUAL 1) OR "fish")* does not elicit this error message, however, because in general OmniMark cannot tell if a condition will always be true or false.

 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:26:58 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.