Program may suspend indefinitely.

#2522   Compile-time warning

Program may suspend indefinitely.

Additional Information

This use of '#MAIN-INPUT' may cause the program to block if no input is provided.
    or
This use of '#PROCESS-INPUT' may cause the program to block if no input is provided.

Recovery

Compilation continues normally.

Explanation

If the standard input of an OmniMark program, accessible through the built-in sources #main-input and #process-input, is not provided at run-time, the program will suspend waiting for input. For this reason, #main-input and #process-input should only be used to pass large inputs to the program. OmniMark will issue this warning if it detects that the program uses the standard input to receieve a short string argument.