summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index 0d491ca..9a2e4bf 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -1099,6 +1099,10 @@ REFWORD {LABELID}|{REFWORD2}|{REFWORD3}
g_endMarker="endxmlonly";
BEGIN(St_SecSkip);
}
+<St_Sections>{CMD}"docbookonly"/[^a-z_A-Z0-9] {
+ g_endMarker="enddocbookonly";
+ BEGIN(St_SecSkip);
+ }
<St_Sections>{CMD}"code"/[^a-z_A-Z0-9] {
g_endMarker="endcode";
BEGIN(St_SecSkip);