Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Feb 12, 2024

  • Add 'lineno' parameter to DSLParser.format_docstring() method.
  • DSLParser.do_post_block_processing_cleanup() now pass 'lineno' to format_docstring() and so log the line number on error.

This change prepares the code to move the fail() function to a Clinic.fail() method to avoid the 'clinic' global variable.

* Add 'lineno' parameter to DSLParser.format_docstring() method. * DSLParser.do_post_block_processing_cleanup() now pass 'lineno' to format_docstring() and so log the line number on error. This change prepares the code to move the fail() function to a Clinic.fail() method to avoid the 'clinic' global variable.
@erlend-aasland
Copy link
Contributor

Obsoleted by #115510

@vstinnervstinner deleted the ac_dslparser branch February 15, 2024 14:05
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@erlend-aasland