diff options
author | albert-github <albert.tests@gmail.com> | 2019-06-10 13:54:09 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-06-10 13:54:09 (GMT) |
commit | 37cf9b2648bf12cf6c3db9f734735a4682535b9a (patch) | |
tree | 35e39e654728b2f742369a2cb3cd18dd1cc7a3e8 | |
parent | 83b756842fc0bbaded6a778f05ce70580cce2eef (diff) | |
download | Doxygen-37cf9b2648bf12cf6c3db9f734735a4682535b9a.zip Doxygen-37cf9b2648bf12cf6c3db9f734735a4682535b9a.tar.gz Doxygen-37cf9b2648bf12cf6c3db9f734735a4682535b9a.tar.bz2 |
Bug 535853 - C# consts incorrectly placed under instance variables
Handle consts separately and in case of CSharp set the static flag.
-rw-r--r-- | src/scanner.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index f94e4f8..e36b36d 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -1390,6 +1390,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) current->explicitExternal = TRUE; lineCount(); } +<FindMembers>{B}*"const"{BN}+ { current->type += " const "; + if (insideCS) current->stat = TRUE; + lineCount(); + } <FindMembers>{B}*"virtual"{BN}+ { current->type += " virtual "; current->virt = Virtual; lineCount(); |