diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-13 12:15:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-13 12:15:54 (GMT) |
commit | 6a1b3708a6bc240cea79b3191b0dafacb014fdb6 (patch) | |
tree | 26c0f9d2c7f8e328bbab87f4d069c051e2964d65 /src/scanner.l | |
parent | 22a83d10db269c4a5d17873936292621eb64811f (diff) | |
download | Doxygen-6a1b3708a6bc240cea79b3191b0dafacb014fdb6.zip Doxygen-6a1b3708a6bc240cea79b3191b0dafacb014fdb6.tar.gz Doxygen-6a1b3708a6bc240cea79b3191b0dafacb014fdb6.tar.bz2 |
Added 'constexpr' as attribute label and to XML output
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 ee04dd9..cc497e3 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -1394,6 +1394,18 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) current->virt = Virtual; lineCount(); } +<FindMembers>{B}*"constexpr"{BN}+ { + if (insideCpp) + { + current->type += " constexpr "; + current->spec |= Entry::ConstExpr; + lineCount(); + } + else + { + REJECT; + } + } <FindMembers>{B}*"published"{BN}+ { // UNO IDL published keyword if (insideIDL) { |