Commit Graph

43 Commits

Author SHA1 Message Date
Erik Verbruggen
ef58d082ea Added ObjC encode expressions. 2009-07-16 12:44:47 +02:00
Erik Verbruggen
a262fce6d0 Added ObjC protocol expressions. 2009-07-16 12:18:05 +02:00
Erik Verbruggen
e5377519d6 Added varargs parsing for ObjC send_msg arguments. 2009-07-16 11:27:45 +02:00
Erik Verbruggen
c8f155c0fc AST additions for ObjC send_msg. 2009-07-15 12:11:07 +02:00
Roberto Raggi
6c0854df66 Improved the parsing of parameter declarations clause. 2009-07-13 14:29:20 +02:00
Erik Verbruggen
e70bb220b1 Added @dynamic parsing. 2009-07-13 11:21:06 +02:00
Erik Verbruggen
08a85a51bf Added @synthesize and fixed @property. 2009-07-13 11:16:22 +02:00
Erik Verbruggen
78cceecc28 Added AST for a bit of ObjC. 2009-07-13 11:08:11 +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
Roberto Raggi
7e7c944628 Stop at class or elaborated class specifiers when recovering declarations. 2009-07-06 09:53:25 +02:00
Roberto Raggi
ca62e4f61c Fixed the parsing of foreach statements. The initializer expression needs to be an assignment expression. 2009-07-03 11:31:00 +02:00
Roberto Raggi
3cdd48067c Introduced ForeachStatementAST and the bits to parse foreach statements when qtMocRun is enabled. 2009-07-03 09:12:58 +02:00
Thorbjørn Lindeijer
341a843bbf Removed two stray backslashes 2009-06-29 14:30:43 +02:00
Roberto Raggi
298b6ac520 Oops, restore the value of blockErrors() 2009-06-19 14:48:07 +02:00
Roberto Raggi
20545fd4b1 Fixed more template-id vs expressions ambiguites. 2009-06-19 12:39:32 +02:00
Roberto Raggi
0c03c1b9f9 Fixed template-id vs binary expression followed by a C-cast expression ambiguity. 2009-06-19 11:59:26 +02:00
Roberto Raggi
9c038180d8 Improved compatibility with the gcc extensions. 2009-06-18 17:49:17 +02:00
Roberto Raggi
9a8e724f15 Don't search for undefined symbols in ambiguous typeof expressions. 2009-06-18 14:22:06 +02:00
Roberto Raggi
c222f2aa27 Some cleanup in the AST nodes. 2009-06-17 16:08:33 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
0497c535a2 cleanup 2009-06-05 09:44:37 +02:00
Thorbjørn Lindeijer
ecc2b25ddc Extended the AST with references to more tokens
Mainly comma tokens. Referencing all tokens is necessary to be able to
implement pretty-printing based on the AST while maintaining user
formatting.

Reviewed-by: Roberto Raggi
2009-05-11 17:03:51 +02:00
Roberto Raggi
1a1b841cdb Fixed parsing of ambiguous name ids. 2009-04-28 19:02:28 +02:00
Roberto Raggi
424dd77e18 Added support for Q_SIGNAL and Q_SLOT. 2009-03-25 11:50:17 +01:00
Roberto Raggi
a744a73145 Check for ambigious function-declarators/cpp-initializers. 2009-03-17 14:27:28 +01:00
Roberto Raggi
e3baca2e9a Prefer C++ Initializer when parsing init-declarators. 2009-03-17 14:12:42 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
2d80acbe76 Improved the implementation of new-expressions. 2009-02-10 14:44:03 +01:00
Roberto Raggi
47a85d5a42 Accept T_COLON_COLON only for the first objc message arg. 2009-02-06 16:28:00 +01:00
Roberto Raggi
dd65867d17 Fixes: Parsing of objc selector expressions. 2009-02-06 15:51:17 +01:00
Roberto Raggi
7b2b182774 Fixes: Parsing of objc method definitions. 2009-02-06 15:13:12 +01:00
Roberto Raggi
8c0aa2d207 Fixes: Parsing of block declarations in an @implementation block. 2009-02-06 11:36:39 +01:00
Roberto Raggi
68552b8f4d Added fast lookup of objc type qualifiers. 2009-02-05 15:06:48 +01:00
Roberto Raggi
c00e30187c Fixes: Parsing objc method definitions. 2009-02-05 14:30:25 +01:00
Roberto Raggi
d7defc6fe0 Fixes: Parsing of GCC asm definitions. 2009-02-05 14:30:24 +01:00
Roberto Raggi
40eabdd008 Improved parsing of objc message expressions. 2009-02-05 14:30:24 +01:00
Roberto Raggi
88b4dd35dc Fixes: Parsing of objc message expressions. 2009-02-05 14:30:23 +01:00
Roberto Raggi
58ff27bd83 Fixes: Parsing of objc string literals and selector expressions. 2009-02-05 14:30:23 +01:00
Roberto Raggi
debe2a0d93 Fixes: Parsing of objc protocol expressions. 2009-02-05 14:30:23 +01:00
Roberto Raggi
26560ca9d2 Parse objc encode expressions. 2009-02-05 14:30:23 +01:00
Roberto Raggi
fa5b8508a0 Dummy method for the objc expressions. 2009-02-05 14:30:22 +01:00
Roberto Raggi
072e03a5cc Fixes: Parsing of wide char literals. 2009-01-29 16:50:07 +01:00
hjk
fe0533de2a Fixes: move all files in shared/* to src/shared/* 2009-01-26 16:19:24 +01:00