swirl
Guide to OmniMark 9   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 9.1.0 Documentation Generated: September 2, 2010 at 1:37:09 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.