diff options
-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); |