summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-05-01 12:05:36 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-05-01 12:05:36 (GMT)
commit22ce9444ca5c73c8a343685309c1812c7f8d263b (patch)
treeff40f0535e20dbecdb9c061e4d6b7b30a7a63625 /src/doctokenizer.l
parent65ad3c5747b855c34498f822a65e1492f1495983 (diff)
parent0dbc0d1c0b58bc06651137cd310a945a1db25151 (diff)
downloadDoxygen-22ce9444ca5c73c8a343685309c1812c7f8d263b.zip
Doxygen-22ce9444ca5c73c8a343685309c1812c7f8d263b.tar.gz
Doxygen-22ce9444ca5c73c8a343685309c1812c7f8d263b.tar.bz2
Merge branch 'feature/bug_startuml' of https://github.com/albert-github/doxygen into albert-github-feature/bug_startuml
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index 3897290..91aacab 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -965,10 +965,8 @@ RCSID "$"("Author"|"Date"|"Header"|"Id"|"Locker"|"Log"|"Name"|"RCSfile"|"Revisio
lineCount(yytext,yyleng);
g_token->verb+=yytext;
}
-<St_PlantUMLOpt>{BLANK}*"{"[^}]*"}" { // case 1: file name is specified as {filename}
+<St_PlantUMLOpt>{BLANK}*"{"[a-zA-Z_,:0-9\. ]*"}" { // case 1: options present
g_token->sectionId = QCString(yytext).stripWhiteSpace();
- // skip curly brackets around the optional image name
- g_token->sectionId = g_token->sectionId.mid(1,g_token->sectionId.length()-2).stripWhiteSpace();
return RetVal_OK;
}
<St_PlantUMLOpt>{BLANK}*{FILEMASK}{BLANK}+/{ID}"=" { // case 2: plain file name specified followed by an attribute