summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-03 19:31:21 (GMT)
committerGitHub <noreply@github.com>2018-12-03 19:31:21 (GMT)
commit7fa0f6968e5544039c8c7c5e74706ab3d0d5a3e5 (patch)
tree0bbefd96ba7647b590b23a5f6c8efe1476a23f0b /src/doctokenizer.l
parent83216e860205fcef3251c9a374d2f526cd52417d (diff)
parent1c0a565a28582d0bc0776988ffef16565563e950 (diff)
downloadDoxygen-7fa0f6968e5544039c8c7c5e74706ab3d0d5a3e5.zip
Doxygen-7fa0f6968e5544039c8c7c5e74706ab3d0d5a3e5.tar.gz
Doxygen-7fa0f6968e5544039c8c7c5e74706ab3d0d5a3e5.tar.bz2
Merge pull request #6643 from albert-github/feature/bug_xhtml_test_30
Incorrect number tag sequence for xhtml with htmlinclude command possible
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index f50b9ae..dd2c183 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -455,6 +455,7 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
%x St_SetScope
%x St_SetScopeEnd
%x St_Options
+%x St_Block
%x St_Sections
%s St_SecLabel1
@@ -1219,6 +1220,12 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
<St_Options>"}" {
return TK_WORD;
}
+<St_Block>{ID} {
+ g_token->name+=yytext;
+ }
+<St_Block>"]" {
+ return TK_WORD;
+ }
<St_File>{FILEMASK} {
g_token->name = yytext;
return TK_WORD;
@@ -1587,6 +1594,12 @@ void doctokenizerYYsetStateOptions()
BEGIN(St_Options);
}
+void doctokenizerYYsetStateBlock()
+{
+ g_token->name="";
+ BEGIN(St_Block);
+}
+
void doctokenizerYYcleanup()
{
yy_delete_buffer( YY_CURRENT_BUFFER );