diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-04-21 13:56:37 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-04-21 13:56:37 (GMT) |
commit | ebd0447bcc5d3d75214c847954bfda1d2e8c97f5 (patch) | |
tree | 3db0b381fb31e078de0540249c869667f44ec68d /src/doctokenizer.l | |
parent | 3cd2917eca7d09a30636b2b16efcd187bc3bf7c0 (diff) | |
download | Doxygen-ebd0447bcc5d3d75214c847954bfda1d2e8c97f5.zip Doxygen-ebd0447bcc5d3d75214c847954bfda1d2e8c97f5.tar.gz Doxygen-ebd0447bcc5d3d75214c847954bfda1d2e8c97f5.tar.bz2 |
Release-1.3-20030421
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r-- | src/doctokenizer.l | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 7655b54..0ed018d 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -314,6 +314,7 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]* %x St_Verbatim %x St_Param %x St_XRefItem +%x St_XRefItem2 %x St_File %x St_Pattern %x St_Link @@ -651,7 +652,13 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]* <St_Ref2>"\""|\n { /* " or \n => end of title */ return 0; } -<St_XRefItem>[0-9]+\n { +<St_XRefItem>{ID} { + g_token->name=yytext; + } +<St_XRefItem>" " { + BEGIN(St_XRefItem2); + } +<St_XRefItem2>[0-9]+\n { QString numStr=yytext; numStr=numStr.left(yyleng-1); g_token->id=numStr.toInt(); |