diff options
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r-- | src/pyscanner.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l index d239d49..c67875e 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -645,6 +645,8 @@ STARTDOCSYMS "##" } <FromMod>{ + "." { // python3 style imports + } {IDENTIFIER}({B}"."{B}{IDENTIFIER})* { // from package import g_packageName=yytext; } |