diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-11-14 19:44:16 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-11-14 19:44:16 (GMT) |
commit | 0625007cb86815b2e30138183d4fe9d2e7850df9 (patch) | |
tree | 181f9ebfd0706ecca5898b169bffa8bc4f5486cc /src/scanner.l | |
parent | 670c8a436d6324a5ffb991f779cae0bc955959f7 (diff) | |
download | Doxygen-0625007cb86815b2e30138183d4fe9d2e7850df9.zip Doxygen-0625007cb86815b2e30138183d4fe9d2e7850df9.tar.gz Doxygen-0625007cb86815b2e30138183d4fe9d2e7850df9.tar.bz2 |
Release-1.3.9.1-20041114
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/scanner.l b/src/scanner.l index 9cd310e..8dbd70c 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -5612,18 +5612,22 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;] unput('/');unput('*'); BEGIN( tmpDocType ); } +<Doc,JavaDoc,LineDoc,ClassDocBrief,AfterDocBrief,AfterDocLine,CopyArgCommentLine,ClassDoc,PageDoc,AfterDoc,CopyArgComment>"\\_linebr " { + // used to compensate for misalignments due to \n's inside ALIASES + current->doc += '\n'; + } <Doc,JavaDoc,ClassDoc,PageDoc,ReadFormulaShort,ReadFormulaLong,AfterDoc>^{B}*(("//"{B}*)?)"*"+[ \t]*"-"("#")?{B}+ { - current->doc += yytext; + current->doc += yytext; } <Doc,JavaDoc,ClassDoc,PageDoc,ReadFormulaShort,ReadFormulaLong,AfterDoc>^{B}*(("//"{B}*)?)"*"+[ \t]*"."{B}*\n { - current->doc += yytext; - yyLineNr++; + current->doc += yytext; + yyLineNr++; } <ClassDocBrief,AfterDocBrief>^{B}*(("//"{B}*)?)"*"+[ \t]*"-"("#")?{B}+ { - current->brief += "-"; + current->brief += "-"; } <ClassDocBrief,AfterDocBrief>^{B}*(("//"{B}*)?)"*"+[ \t]*"."{B}*\n { - current->brief += "."; yyLineNr++; + current->brief += "."; yyLineNr++; } <Doc,JavaDoc,ClassDoc,PageDoc,ReadFormulaShort,ReadFormulaLong,ClassDocBrief,AfterDoc,AfterDocBrief>^{B}*(("//"{B}*)?)"*"+/[^/] <Doc,JavaDoc,ClassDoc,PageDoc,ReadFormulaShort,ReadFormulaLong,ClassDocBrief,AfterDoc,AfterDocBrief>^{B}*(("//"{B}*)?)"*"+{B}+ { |