request: add const member function flag for C++
Oleh <[email protected]>
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <CAA01p3pF_O4TNf3kt1cvMeyySwXi6157Da_WHoETZnhkbtnK-A@mail.gmail.com> |
Hi all,
I'd like to bring to your attention one feature that's missing from C++ parser.
This is the example source file:
#+begin_src C++
class ABC
{
int value() const;
};
#+end_src
`bovinate' returns:
(("ABC" type
(:members
(("value" function
(:prototype-flag t :type "int")
(reparse-symbol classsubparts)
#<overlay from 17 to 35 in test.cc>))
:type "class")
nil #<overlay from 1 to 38 in test.cc>))
while I'd like it to return:
(("ABC" type
(:members
(("value" function
(:prototype-flag t :constant-flag t :type "int")
(reparse-symbol classsubparts)
#<overlay from 17 to 35 in test.cc>))
:type "class")
nil #<overlay from 1 to 38 in test.cc>))
The difference is ":constant-flag t". The constant-flag is already implemented
for variables, but not yet for member functions.
best regards,
Oleh
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/