If an error occurs while reading input from the terminal, the system prints an error message after the next newline and waits for input of a correct Prolog term.
During compilation, clauses with syntax errors cause an error message and are ignored, but all other clauses are compiled normally.[eclipse 3]: a b <return> syntax error: postfix/infix operator expected | a b | ^ here [eclipse 3]: