diff options
author | Tobias Off <tobias.off@redheads.de> | 2019-11-19 12:01:27 (GMT) |
---|---|---|
committer | Tobias Off <tobias.off@redheads.de> | 2019-11-28 09:43:57 (GMT) |
commit | 6382986b77d302be187d95aaa850eff132ec1d7d (patch) | |
tree | 37babfa1b0b12db5ccdb7fa4f386690e6e949a66 /src/doctokenizer.l | |
parent | 2972f6ddc491f615f814b1277ec715b6f707c419 (diff) | |
download | Doxygen-6382986b77d302be187d95aaa850eff132ec1d7d.zip Doxygen-6382986b77d302be187d95aaa850eff132ec1d7d.tar.gz Doxygen-6382986b77d302be187d95aaa850eff132ec1d7d.tar.bz2 |
Refactoring of portable.h and portable.cpp functions to be contained in a namespace
Fixing some memory issues caused by not correctly freed pointers
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r-- | src/doctokenizer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index f0a6a83..ff6c38d 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -674,7 +674,7 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} <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); + QCString value = Portables::getenv(name); for (int i=value.length()-1;i>=0;i--) unput(value.at(i)); } <St_Para>{HTMLTAG} { /* html tag */ |