diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-09-15 19:52:11 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-09-15 19:52:11 (GMT) |
commit | 51502afe30860a1b56b0bcb9ede3a6d9b62fdda2 (patch) | |
tree | bc73f10ae9a4b60f97e656106d08de380d012457 /src/doctokenizer.l | |
parent | 5042f14501ee003ee5b13173877936f0138f0544 (diff) | |
download | Doxygen-51502afe30860a1b56b0bcb9ede3a6d9b62fdda2.zip Doxygen-51502afe30860a1b56b0bcb9ede3a6d9b62fdda2.tar.gz Doxygen-51502afe30860a1b56b0bcb9ede3a6d9b62fdda2.tar.bz2 |
Release-1.3.3-20030915
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r-- | src/doctokenizer.l | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 1e4b2d1..81e2afa 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -327,6 +327,7 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]* %x St_LatexOnly %x St_XmlOnly %x St_Verbatim +%x St_Dot %x St_Param %x St_XRefItem %x St_XRefItem2 @@ -525,6 +526,14 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]* <St_Verbatim>. { /* Verbatim text */ g_token->verb+=yytext; } +<St_Dot>{CMD}"enddot" { + return RetVal_OK; + } +<St_Dot>[^\\@\n]+ | +<St_Dot>\n | +<St_Dot>. { /* dot text */ + g_token->verb+=yytext; + } <St_Title>"\"" { // quoted title BEGIN(St_TitleQ); } @@ -746,6 +755,10 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]* g_endMarker="endverbatim"; BEGIN(St_SecSkip); } +<St_Sections>{CMD}"dot" { + g_endMarker="enddot"; + BEGIN(St_SecSkip); + } <St_Sections>{CMD}"htmlonly" { g_endMarker="endhtmlonly"; BEGIN(St_SecSkip); @@ -885,6 +898,12 @@ void doctokenizerYYsetStateVerbatim() BEGIN(St_Verbatim); } +void doctokenizerYYsetStateDot() +{ + g_token->verb=""; + BEGIN(St_Dot); +} + void doctokenizerYYsetStateParam() { BEGIN(St_Param); |