diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pyscanner.l | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l index 9c21d41..37fd71d 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -1168,13 +1168,17 @@ STARTDOCSYMS "##" current->program+=yytext; BEGIN(TripleComment); } - {TRISINGLEQUOTE} { // start of a comment block initTriSingleQuoteBlock(); current->program+=yytext; BEGIN(TripleComment); } - + {STARTDOCSYMS}[#]* { // start of a special comment + initSpecialBlock(); + BEGIN(SpecialComment); + } + {POUNDCOMMENT} { // ignore comment with just one # + } ^{BB} { current->program+=yytext; //current->startLine = yyLineNr; @@ -1187,7 +1191,6 @@ STARTDOCSYMS "##" } ""/({NONEMPTY}|{EXPCHAR}) { - // Just pushback an empty class, and // resume parsing the body. newEntry(); |