Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
STL/TR1 lexer^
(1/1)
thomas:
I've modified the C++ lexer to include most of the STL and C++0x TR1 as user keywords. I have also added a few gcc specific keywords as well as builtin intrinsics and attribute names, since these are easy to mistype and hard to read. Basically I've highlighted most everything that I've mistyped more than twice in my life...
I'm not sure about how useful it really is (considering that it bloats up the lexer quite a bit), nor am I sure about what colour scheme to use etc., therefore it isn't committed to svn -- instead play with the attached file for now, and tell me what you think.
[attachment deleted by admin]
mmkider:
--- Quote from: thomas on November 26, 2008, 05:05:59 pm ---I've modified the C++ lexer to include most of the STL and C++0x TR1 as user keywords. I have also added a few gcc specific keywords as well as builtin intrinsics and attribute names, since these are easy to mistype and hard to read. Basically I've highlighted most everything that I've mistyped more than twice in my life...
I'm not sure about how useful it really is (considering that it bloats up the lexer quite a bit), nor am I sure about what colour scheme to use etc., therefore it isn't committed to svn -- instead play with the attached file for now, and tell me what you think.
--- End quote ---
good job
:D :D :D :D :D :D
MortenMacFly:
--- Quote from: thomas on November 26, 2008, 05:05:59 pm ---play with the attached file for now, and tell me what you think.
--- End quote ---
I thinks it's OK to put it to SVN. Looks good (although in 98% of my code I see not difference as I am not using those keywords... ;-))
Navigation
[0] Message Index
Go to full version