diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-23 19:34:34 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-23 19:34:34 (GMT) |
commit | babfc33370e28963f890a5f05355aa7778700ca6 (patch) | |
tree | 7c4e71d08bbb7c22178956594de12e701ef50477 | |
parent | c3ee766d0ad5721c753581e7f87026614c0730e1 (diff) | |
download | Doxygen-babfc33370e28963f890a5f05355aa7778700ca6.zip Doxygen-babfc33370e28963f890a5f05355aa7778700ca6.tar.gz Doxygen-babfc33370e28963f890a5f05355aa7778700ca6.tar.bz2 |
Fix for 'Definition at line' points to end of multiple-lined definition for Python #6706
-rw-r--r-- | src/pyscanner.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l index aed1ede..1596b9d 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -949,7 +949,6 @@ STARTDOCSYMS "##" {B}":"{B} { // function without arguments g_specialBlock = TRUE; // expecting a docstring bodyEntry = current; - current->bodyLine = yyLineNr; BEGIN(FunctionBody); } @@ -960,6 +959,7 @@ STARTDOCSYMS "##" } {B}"(" { g_funcParamsEnd = FALSE; + current->bodyLine = yyLineNr; BEGIN(FunctionParams); } ")" { // end of parameter list |