summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-03-08 14:22:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-03-08 14:22:15 (GMT)
commit91ac89e271d81507ce5d8bf5b821d80aedd6ec3e (patch)
treeeb0cd4bd519397a852945fb3acf64c0b65edcb2f /src/doctokenizer.l
parent6ac75f5093a2ac447626579cfbda2d1a8af6d86e (diff)
downloadDoxygen-91ac89e271d81507ce5d8bf5b821d80aedd6ec3e.zip
Doxygen-91ac89e271d81507ce5d8bf5b821d80aedd6ec3e.tar.gz
Doxygen-91ac89e271d81507ce5d8bf5b821d80aedd6ec3e.tar.bz2
Release-1.3-rc3-20030308
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index 70a66f5..f8f363a 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -487,7 +487,7 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]*
return TK_NEWPARA;
}
}
-<St_Code>{CMD}"endcode" {
+<St_Code>{WS}*{CMD}"endcode" {
return RetVal_OK;
}
<St_Code>[^\\@\n]+ |
@@ -603,11 +603,12 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]*
return 0;
}
-<St_Ref>({ID}[.-])*{ID} {
+<St_Ref>("#"|"::")?({ID}[.#:-])*{ID} {
g_token->name=yytext;
return TK_WORD;
}
<St_Ref>{BLANK}+ {
+ unput(' ');
return 0;
}
<St_Ref>{BLANK}+"\"" {