From ee73bfd113f119c33383d76d851d36ef0b304645 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 29 May 2019 18:12:07 +0200 Subject: issue 7015 Parsing issue with @includedoc and @startuml In case of `\includedoc` the `\n` was not handled on the first line (`@startuml`) --- src/doctokenizer.l | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 7b402ca..b829fc9 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -902,6 +902,7 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} g_token->sectionId = QCString(yytext).stripWhiteSpace(); return RetVal_OK; } +"\n" | . { g_token->sectionId = ""; unput(*yytext); -- cgit v0.12