Skip to content

Commit

Permalink
issue #10076 \include and Python
Browse files Browse the repository at this point in the history
In general the source browser for python code showed some strange effects in case of a number of spaces at the beginning of a line inside a triple quoted block.
Instead of staying inside the triple quoted block a jump was done to the outside of the block as  the general rule `<*>[ \t]+` was executed (and a jump to condition `Body` occurred) instead  of the a handling inside the triple quoted block.
  • Loading branch information
albert-github committed May 23, 2023
1 parent accb1cc commit c71fe89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pycode.l
Expand Up @@ -694,6 +694,9 @@ TARGET ({IDENTIFIER}|"("{TARGET_LIST}")"|"["{TARGET_LIST}"]"|{ATTRIBU
\n {
codifyLines(yyscanner,yytext);
}
[ \t]+ {
codify(yyscanner,yytext);
}
. {
codify(yyscanner,yytext);
}
Expand Down

0 comments on commit c71fe89

Please sign in to comment.