On encountering a syntax error, the interpreter does not execute the program unless these errors are removed by the user.