summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2017-04-02 11:57:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2017-04-02 11:57:51 (GMT)
commit127a43d464790dd0312794fe7ae1d92247cd9eef (patch)
treebc3f24f12dc30264e353a5a796c452c2496491ff /src/scanner.l
parent82ed99b4050963ab1c7134dede952400ff75dffc (diff)
downloadDoxygen-127a43d464790dd0312794fe7ae1d92247cd9eef.zip
Doxygen-127a43d464790dd0312794fe7ae1d92247cd9eef.tar.gz
Doxygen-127a43d464790dd0312794fe7ae1d92247cd9eef.tar.bz2
Inline attribute got reset for functions returning an explicit struct type
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index fe8716e..9ff082d 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -1723,7 +1723,8 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
bool isVolatile=decl.find("volatile")!=-1;
current->section = Entry::CLASS_SEC ;
current->spec = Entry::Struct |
- (current->spec & Entry::Published); // preserve UNO IDL
+ (current->spec & Entry::Published) |
+ (current->spec & Entry::Inline); // preserve UNO IDL & Inline attributes
// bug 582676: can be a struct nested in an interface so keep insideObjC state
//current->objc = insideObjC = FALSE;
addType( current ) ;