Commit Graph

17 Commits

Author SHA1 Message Date
Roberto Raggi
0528f2407a Introduced type matchers. 2009-11-23 12:53:33 +01:00
Roberto Raggi
4a87d875f0 Accepts `$' as valid character when recognizing identifiers.
Added support for yet another gcc extension that is using in OSX 10.6 system headers.
2009-11-04 13:45:49 +01:00
Roberto Raggi
13675cf6ed Cleanup the C++ front-end.
Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
2009-10-20 11:21:25 +02:00
Roberto Raggi
e40cd82f8c Introduced T_CPP_COMMENT and T_CPP_DOXY_COMMENT to handle C++-style comments 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.
2009-09-29 11:35:43 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Roberto Raggi
332e6f9a28 Stop scanning string literals when the current character is a newline. 2009-08-04 12:18:25 +02:00
Thiago Macieira
d0457b70e3 Compile the C++ parser library with Sun CC 5.9.
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.
2009-08-03 14:59:42 +02:00
Roberto Raggi
1eefd16383 Fixed a few typos and bugs in the ObjC++ support. 2009-07-13 12:05:29 +02:00
Roberto Raggi
3e54a65a69 Replaced T_INT_LITERAL and T_FLOAT_LITERAL with T_NUMERIC_LITERAL. 2009-07-10 15:45:09 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
ec69936c7c Support Doxygen comment style after members
Forms /**<, /*!<, ///< and //!<.

Done with Roberto Raggi.
2009-03-20 14:24:02 +01:00
Roberto Raggi
f96d8ff9e0 Fixed: Parsing of /**/ tokens. 2009-03-02 19:00:57 +01:00
Roberto Raggi
fd22788d9e Improved matching of qdox/doxygen comments. 2009-03-02 10:10:30 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Thorbjørn Lindeijer
c5d600b1d6 Fixed highlighting of comment closing element */
Was taking the wrong state, causing it to appear in Doxygen style
instead of as a normal comment.

Fix by Roberto Raggi
2009-02-20 16:34:48 +01:00
Roberto Raggi
4c5ff047f0 Initial support for doxygen comments. 2009-02-20 11:52:27 +01:00
hjk
fe0533de2a Fixes: move all files in shared/* to src/shared/* 2009-01-26 16:19:24 +01:00