Author Topic: tag parser having trouble with c++ 11 final keyword  (Read 1740 times)

aludwig

  • Junior Community Member
  • Posts: 2
  • Hero Points: 0
tag parser having trouble with c++ 11 final keyword
« on: May 01, 2013, 03:45:34 pm »
The tab parser in C++ for Slick Edit 2012 (v17.0.3.-0 64-bit) seems to be having some trouble with the C++ 11 keyword "final".  I've got a class that looks something like this:

class Foo final {
}

and the tag parser (as viewed through the Classes window) seems to think this is the "final" class, rather than the "Foo" class.  This is part of a larger QT project that I'm working on.  What's the work-around to get symbol completion working correctly?  I've gone into the C++ langague defintion and added "final" as a keyword.  The syntax coloring seems to be correct now, but the language isn't being parsed correctly.

Thanks for the help!

-- Alan

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3226
  • Hero Points: 459
Re: tag parser having trouble with c++ 11 final keyword
« Reply #1 on: May 03, 2013, 01:02:14 pm »
This is fixed in the latest v18 beta.

If you are using an earlier version, I would suggest working around it by defining "final" as an empty preprocessing keyword.  Document > C/C++ Options... > C/C++ Preprocessing.