diff options
author | albert-github <albert.tests@gmail.com> | 2018-08-02 09:50:32 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-08-02 09:50:32 (GMT) |
commit | 35b7de3e692b127f8192900e1ae1152221afe76b (patch) | |
tree | 439a80b138faab08cdb2a71a32ede743c68ec69f /src/doctokenizer.l | |
parent | 9ba8bd85999fa7423eb5b44c680e72ad2e9c31bf (diff) | |
download | Doxygen-35b7de3e692b127f8192900e1ae1152221afe76b.zip Doxygen-35b7de3e692b127f8192900e1ae1152221afe76b.tar.gz Doxygen-35b7de3e692b127f8192900e1ae1152221afe76b.tar.bz2 |
Consistency of environment variables between config and code
In a configuration file it was possible to have an environment variable like PROGRAMFILES(X86) but in the code this was not possible.
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r-- | src/doctokenizer.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index e6b8865..cad9a9f 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -658,7 +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}")" | /* environment variable */ +<St_Para,St_HtmlOnly>"$("{ID}"("{ID}"))" { /* environment variable */ QCString name = &yytext[2]; name = name.left(name.length()-1); QCString value = portable_getenv(name); |