diff options
-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 |