Commit Graph

37 Commits

Author SHA1 Message Date
dt
f7240bd665 Fixes: bin dir of msvc qt versions was not added to the path
The setting of msvc environments variables overwrote that. Fix that by running the script with the correct environment.
2009-03-19 18:30:11 +01:00
Roberto Raggi
4613da1c8b Mark the generated tokens in the token stream. 2009-03-04 14:36:47 +01:00
Roberto Raggi
064201ff85 Mark the generated regions of text. 2009-03-04 14:36:47 +01:00
Roberto Raggi
e253f39360 Store the actual arguments of the macro expansions. 2009-03-04 11:47:30 +01:00
Roberto Raggi
5bbb882b3d Introduced expandBuiltinMacro(). 2009-03-03 17:23:12 +01:00
Roberto Raggi
ca7cc122cb Simplified Preprocessor::preprocess() 2009-03-03 17:06:42 +01:00
Roberto Raggi
7327a8ea4d Introduced skipActualArguments(). 2009-03-03 16:59:55 +01:00
Roberto Raggi
1d75990667 Introduced processObjectLikeMacro(). 2009-03-03 16:56:55 +01:00
Roberto Raggi
b316939dff Introduced expandObjectLikeMacro(). 2009-03-03 16:46:21 +01:00
Roberto Raggi
55d0e4f860 Improved the way we expand function-like macros when we can't collect all the arguments. 2009-03-03 16:32:08 +01:00
Roberto Raggi
656d70fa74 Introduced expandFunctionLikeMacro(). 2009-03-03 16:19:03 +01:00
Roberto Raggi
3d6f7de909 Context-sensitive highlighting. 2009-03-03 13:57:08 +01:00
Roberto Raggi
63c012a242 Fixed: token separators. 2009-03-03 11:28:36 +01:00
Roberto Raggi
4c7e3ed836 Add the _right_ number of spaces. 2009-03-03 11:14:12 +01:00
Roberto Raggi
454438e47d More cleanup. 2009-03-03 10:41:20 +01:00
Roberto Raggi
ae04679373 Introduced processNewline() and processSkippingBlocks(). 2009-03-03 10:27:02 +01:00
Roberto Raggi
c1ea5126dd Reserve some space. 2009-03-03 10:16:43 +01:00
Roberto Raggi
d7e86c22b6 Cleanup the function-like macro expansion. 2009-03-03 10:13:51 +01:00
Roberto Raggi
2a8327e57f Obsoleted code. 2009-03-03 09:58:54 +01:00
Roberto Raggi
ba200c7834 Some minor cleanup in processInclude(). 2009-03-03 09:52:50 +01:00
Roberto Raggi
ebe17889f4 Some refactoring of the preprocessor, it'll simplify my next commits. 2009-03-02 19:03:07 +01:00
Roberto Raggi
ed69c39906 More cleanup 2009-03-02 18:15:58 +01:00
Roberto Raggi
f4e875b9bb Initial testing of the preprocessor. 2009-03-02 11:30:43 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
f63b8e6693 --warnings 2009-02-16 18:56:35 +01:00
Roberto Raggi
4ffed7a119 Fixes: Parsing of #import directives. 2009-02-05 14:30:25 +01:00
Roberto Raggi
44ed62c181 Fixes: Expand the #elif's condition. 2009-01-20 11:29:54 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Roberto Raggi
e325aa38d9 Nicer implementation of CPlusPlus::Macro. 2008-12-22 13:55:42 +01:00
Roberto Raggi
753ddb7ce0 Some cleanup in the C++ preprocessor.
Introduced pp-scanner.cpp, renamed `pp' to `Preprocessor' and removed useless #includes.
2008-12-22 11:40:53 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
Roberto Raggi
d454607264 Implemented tooltip and lookat for #include directives. 2008-12-10 17:21:28 +01:00
Roberto Raggi
9c9308b91b QByteArray::toLong() does not auto-detect the base and also fixed a typo in
the evaluator of bit-or expressions.
2008-12-10 10:47:26 +01:00
Roberto Raggi
9653f4b7e9 Fixed macro locations. 2008-12-09 16:20:21 +01:00
Roberto Raggi
20e36cc364 tooltip for macro definitions. 2008-12-09 15:24:26 +01:00
Roberto Raggi
310d50fd07 Use Macros. 2008-12-08 12:59:57 +01:00
Roberto Raggi
f6fbb274ae Moved the preprocessor. 2008-12-08 12:24:40 +01:00