summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-08-02 12:54:52 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-08-02 12:54:52 (GMT)
commitb1a7c9f513fd7c15d86d536cad64338dfd2b617c (patch)
tree847ebaa22c51d836009d55aefa5c9c58ed6747b8 /src/doctokenizer.l
parent35b7de3e692b127f8192900e1ae1152221afe76b (diff)
downloadDoxygen-b1a7c9f513fd7c15d86d536cad64338dfd2b617c.zip
Doxygen-b1a7c9f513fd7c15d86d536cad64338dfd2b617c.tar.gz
Doxygen-b1a7c9f513fd7c15d86d536cad64338dfd2b617c.tar.bz2
Consistency of environment variables between config and code
Made consistent with pull request #6420
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index cad9a9f..0a95661 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -658,8 +658,8 @@ REFWORD_NOCV {LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
g_token->text = tagName.mid(text_begin,text_end-text_begin);
return TK_RCSTAG;
}
-<St_Para,St_HtmlOnly>"$("{ID}")" | /* environment variable */
-<St_Para,St_HtmlOnly>"$("{ID}"("{ID}"))" { /* environment variable */
+<St_Para,St_HtmlOnly,St_ManOnly,St_LatexOnly,St_RtfOnly,St_XmlOnly,St_DbOnly>"$("{ID}")" | /* environment variable */
+<St_Para,St_HtmlOnly,St_ManOnly,St_LatexOnly,St_RtfOnly,St_XmlOnly,St_DbOnly>"$("{ID}"("{ID}"))" { /* environment variable */
QCString name = &yytext[2];
name = name.left(name.length()-1);
QCString value = portable_getenv(name);