diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-04-21 13:56:37 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-04-21 13:56:37 (GMT) |
commit | 2eef94da7bc476987b1a46690bbdaeb76a05dd82 (patch) | |
tree | 3db0b381fb31e078de0540249c869667f44ec68d /src/doctokenizer.l | |
parent | 7e0aeda8a19448b44750f2530864432c964b0374 (diff) | |
download | Doxygen-2eef94da7bc476987b1a46690bbdaeb76a05dd82.zip Doxygen-2eef94da7bc476987b1a46690bbdaeb76a05dd82.tar.gz Doxygen-2eef94da7bc476987b1a46690bbdaeb76a05dd82.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(); |