def _check_for_indent(self, newline_token):
indent_delta = self._get_next_line_indent_delta(newline_token)<EOL>if indent_delta is None or indent_delta == <NUM_LIT:1>:<EOL><INDENT>return None<EOL><DEDENT>else:<EOL><INDENT>self.errors.append(<EOL>('<STR_LIT>',<EOL>newline_token.lexer.lineno))<EOL><DEDENT>
Checks that the line following a newline is indented, otherwise a
parsing error is generated.