diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-05-02 09:33:10 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-05-02 09:33:10 (GMT) |
commit | 77c1e773565b2e464cc19d5e897ff7ba3bfb93fc (patch) | |
tree | dc14de1ea2b424b3d0c4244852c56d7e2799ebae /src/scanner.l | |
parent | 054e6f10845218f0a39898030830200313261c62 (diff) | |
parent | e042aeceae7bb0dbee8e7602d3a20b388b94eb82 (diff) | |
download | Doxygen-77c1e773565b2e464cc19d5e897ff7ba3bfb93fc.zip Doxygen-77c1e773565b2e464cc19d5e897ff7ba3bfb93fc.tar.gz Doxygen-77c1e773565b2e464cc19d5e897ff7ba3bfb93fc.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index fdd8b93..00fa3b4 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2317,6 +2317,18 @@ NONLopt [^\n]* } yyextra->current->name=yyextra->current->name.mid(6); } + else if (yyextra->current->name.left(9)=="volatile ") + { + if (yyextra->current->type.isEmpty()) + { + yyextra->current->type="volatile"; + } + else + { + yyextra->current->type+="volatile "; + } + yyextra->current->name=yyextra->current->name.mid(9); + } } QCString tmp=yytext; if (nameIsOperator(tmp)) |