summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/SimpleLexer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* C++: Enabled C++0x in SimpleLexerLeandro Melo2011-11-181-0/+11
| | | | | | | We should create a UI flag for C++0x... Change-Id: Iba30090aa580554af629c0fb59ae5fc22b306b80 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Update license.hjk2011-04-131-14/+13
|
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* License headers.con2010-12-171-7/+11
|
* More completion fixes.Erik Verbruggen2010-07-061-1/+1
|
* Fixed completion for doxygen comments.Erik Verbruggen2010-07-061-1/+1
|
* C++: Remember joined state in SimpleLexer.Christian Kamm2010-07-021-2/+10
| | | | Done-with: Erik Verbruggen
* Removing SimpleTokenErik Verbruggen2010-07-021-62/+18
|
* Removed the TokenCache.Erik Verbruggen2010-07-021-0/+32
|
* Introduced token caching to prevent repetetive tokenizing.Erik Verbruggen2010-06-141-5/+4
| | | | | | Also removed TokenUnderCursor as it's functionality is in the token cache. Reviewed-by: ckamm
* Fixed #import completion to act the same as #include completion.Erik Verbruggen2010-03-231-0/+4
|
* Long live the king!hjk2010-03-051-1/+1
|
* Revert "Split Objective-C keyword parsing to handle the '@' separately."Erik Verbruggen2010-02-151-1/+1
| | | | This reverts commit 2a59d2ae0c889fe6e4ac50a3f110b0103f880c15.
* Split Objective-C keyword parsing to handle the '@' separately.Erik Verbruggen2010-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | Because apparently, while designing the Objective-C language, somebody thought it was a world-class idea to allow any white-space between the '@' character and the subsequent keyword. With this fix, we now correctly parse: @ dynamic and: @ selector and: @"foo" "bar" @"mooze" (This last one is 1 single string split over multiple lines.) Wonderful, isn't it? What we (and Clang) do not support, but what GCC supports is something like: @"foo"@@ "bar" @"mooze" @@ which is equivalent to @"foobarmooze".
* Renamed method.Erik Verbruggen2010-02-041-1/+1
|
* Small inclusion fixes.Tobias Hunger2010-01-081-1/+2
| | | | | | | * Remove duplicate headers. * Move own headers to the top. Reviewed-by: Roberto Raggi
* Syntax highlighting for Objective-C identifiers (super, self, nil, Nil, ↵Erik Verbruggen2009-10-091-1/+4
| | | | _cmd, SEL, IMP, BOOL, YES, NO, id).
* Introduced T_CPP_COMMENT and T_CPP_DOXY_COMMENT to handle C++-style comments ↵Roberto Raggi2009-09-291-1/+2
| | | | | | and improved CPPEditor::isInComment to handle the newly introduced tokens. As side effect,this change should fix the regression we introduced in the "automagically" quote/brace insertion.
* Made the indenter more Qt friendly. Added support for moc keywords.Roberto Raggi2009-09-211-13/+0
|
* Use the backward scanner to indent labeled statements, ctor-initializers and ↵Roberto Raggi2009-09-211-5/+31
| | | | access specifiers.
* long live the kinghjk2009-08-141-1/+1
|
* Compile the C++ parser library with Sun CC 5.9.Thiago Macieira2009-08-031-2/+2
| | | | | | | | | | | | Things you mustn't do: 1) end an enum with a comma 2) #include <cxxxx> and not use std:: 3) use anonymous structures All three things are invalid C++. Anonymous structures inside anonymous unions are allowed by GCC, but that doesn't mean it's valid.
* Oops! operators are not objc keywords :)Roberto Raggi2009-07-131-1/+1
|
* Fixed a few typos and bugs in the ObjC++ support.Roberto Raggi2009-07-131-0/+5
|
* Update license headers and sales contact details.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Fixes: change file license headers to include LGPLhjk2009-02-251-21/+17
|
* Initial support for doxygen comments.Roberto Raggi2009-02-201-0/+5
|
* Fixes: Enable ObjC support.Roberto Raggi2009-02-051-1/+3
|
* Bump year in licence header.Daniel Molkentin2009-01-131-1/+1
|
* More ObjC++Roberto Raggi2009-01-091-7/+6
|
* Added objcEnabled()/setObjcEnabled() to SimpleLexer.Roberto Raggi2009-01-081-1/+14
|
* chancge Nokia GPL exception version from 1.2 to 1.3hjk2008-12-161-1/+1
|
* off-by-one in headershjk2008-12-021-1/+0
|
* end-of-line whitespace correction of the new headershjk2008-12-021-10/+11
|
* more cosmetic changeshjk2008-12-021-7/+22
|
* Initial importcon2008-12-021-0/+117