John Camelon
04cef746c8
Further progress into AST as a service.
2004-12-09 03:45:04 +00:00
John Camelon
e5ffb20068
Moved DOM to src/ folder from parser/ folder.
2004-12-09 01:09:08 +00:00
John Camelon
1a2283799d
Added further physical/DOM interfaces.
...
Added the start of the ASTService.
2004-12-08 21:16:54 +00:00
Andrew Niefer
494a85849b
- Add basic ambiguity resolution
...
- start using offsets to aid in traversing different scopes.
- set some offsets on some physical nodes as I notice them
2004-12-08 16:35:10 +00:00
John Camelon
ef16d14160
Remove use of java.util.Lists from Physical tree interfaces.
2004-12-07 19:12:23 +00:00
John Camelon
301e1057eb
Add comments
2004-12-07 18:50:06 +00:00
Andrew Niefer
c50120a815
- visiting the C++ AST
...
- Namespaces and Using directives
2004-12-07 01:02:35 +00:00
Andrew Niefer
bb4f448825
class inheritance
2004-12-02 22:27:57 +00:00
Andrew Niefer
3c6b029ae7
Bindings for members
2004-12-02 19:40:14 +00:00
John Camelon
d89f346613
Further stubbing out of the IASTNodeLocation related interfaces.
2004-12-02 03:35:40 +00:00
John Camelon
5d45047d01
Patch for Devin Steffler
...
Fixed 79921 - [Scanner] problems with ')' inside a string being passed to va_args macro parm
Fixed 79227 - [Scanner][IProblem][Ethereal] "Unbounded string encountered" invalid IProblems with invalid offsets highlighting weird commented code
2004-12-02 03:15:08 +00:00
John Camelon
e5362d1983
Patch for Devin Steffler.
...
Fixed 79810 - 'invalid arithmetic conversion' on line 0
This also clears up the last IProblem related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=75403
2004-12-02 02:58:48 +00:00
Andrew Niefer
b2f25ce249
Resolving method bindings
2004-12-01 20:24:47 +00:00
Andrew Niefer
ec30347dee
Start of CPP bindings
2004-11-30 22:27:30 +00:00
John Camelon
053748815b
Patch for Devin Steffler.
...
Fixed 79787 - [Scanner] #error has extra \r character at the end
Fixed 79490 - [Scanner] char constants not evaluated properly with #if
2004-11-30 18:51:49 +00:00
John Camelon
1e56204749
Patch for Devin Steffler
...
Fixed 79471 - [Parser] Syntax Errors: Problems with handling float value in the preprocessor statements
2004-11-30 18:21:37 +00:00
John Camelon
29a1fcb59c
Patch for Devin Steffler.
...
Fixed 79339 - Selection search fails on SDL/SDL.h
2004-11-29 21:00:32 +00:00
John Camelon
cf54709a6b
Changed default array sizes.
2004-11-26 18:42:35 +00:00
John Camelon
21a1814cc5
Refactored statement() to share more code between C/C++.
...
Added in ambiguity resolution code for expression statements vs. declarations statements.
2004-11-26 16:09:44 +00:00
Andrew Niefer
e22e2cadc1
- change interface gets to return arrays instead of lists
...
- added getScope as needed
- added IASTName.toCharArray()
- modified CVisitor to use scopes to store bindings
these changes reduce binding time for windows.h from minutes to ~1300 ms
2004-11-25 22:07:17 +00:00
John Camelon
a149a4fbe0
Fixed NPE in parsing the Trilogy for C++ w/the new parser due to a malformed array subscript postfix expression.
2004-11-25 03:27:00 +00:00
John Camelon
5946594715
Patch for Devin Steffler.
...
Fixed 78231 - [Parser] open declaration on elaborated type shouldn't jump to object hiding it
2004-11-24 21:15:16 +00:00
John Camelon
1a5a30c950
Cloned CompleteParseASTTest to CompleteParse2Tests to be used w/the new parser.
...
Added CompleteParser2Tests to ParserTestSuite.
Removed unnecessary helper classes in parser2 package.
2004-11-24 16:36:14 +00:00
John Camelon
2a7c0f097f
Support for pointer to functions/members.
2004-11-24 15:02:21 +00:00
John Camelon
922006b670
Added ICPPASTTryBlockStatement and implementation.
2004-11-24 04:51:04 +00:00
John Camelon
03de1e32fd
Separated C++ and C Physical Implementations to provide Andrew more flexibility.
...
Added ICPPASTTemplateId and implementation.
2004-11-24 04:28:19 +00:00
Andrew Niefer
0b6beedffa
more GCC tests
...
plus enumerations and enumerators
2004-11-23 22:27:21 +00:00
John Camelon
34181fda51
QuickParser2Tests now all pass.
...
Commit it while you can.
2004-11-23 21:46:01 +00:00
John Camelon
0069e2dae3
Only 3 QuickParse2Tests failing.
2004-11-23 20:42:55 +00:00
John Camelon
dbc642b6b4
Add support for long longs.
2004-11-23 19:29:36 +00:00
Andrew Niefer
2399f89255
more GCC based Tests.
...
impl CParameter.getType, check for definitions of variables,
visit parameter declSpecifiers
2004-11-23 17:43:16 +00:00
John Camelon
b36410c4ee
Fixed bug in GNUCSourceParser regarding parsing typedefed anonymous structs as parameters in a function definition.
2004-11-23 15:22:42 +00:00
John Camelon
894e597b9e
Brutally painful Parser2 fixes.
2004-11-23 14:50:24 +00:00
John Camelon
edd4a3ebf0
Most of C++ Expressions & Declarations.
...
80% of QuickParseTest2 passing.
2004-11-23 02:48:32 +00:00
Andrew Niefer
b260655021
Add GCCTests based on GCC torture test suite
2004-11-22 19:25:26 +00:00
John Camelon
cf15755c35
New parser fixes.
...
Remove NPE in consumeArrayModifiers().
Add stronger typing to bitfield expression in declarator().
2004-11-22 15:10:37 +00:00
John Camelon
3fab76a13d
Removed warning.
2004-11-22 02:41:04 +00:00
John Camelon
80e8ac3fc6
Finished DeclSpecifier for new C++ Parser.
2004-11-22 02:39:23 +00:00
John Camelon
ece695b022
Templates, Linkage Specs & the start of DeclSpecifierSeq.
2004-11-21 20:40:43 +00:00
John Camelon
f6aa88405c
Adding using declaration/directive support.
...
Refactored use of ICPPASTQualifiedName.
2004-11-20 19:29:14 +00:00
John Camelon
0ad6f1bcb0
Applied patch for Devin Steffler.
...
Fixed 78217 - [Parser][IProblems] template operator has invalid IProblem with blank description
Fixed 79103 - [Parser][IProblems] 3 new lineNumber=-1 found in cpp_headers
2004-11-20 17:56:43 +00:00
John Camelon
78555dc686
Patch for Devin Steffler
...
Removes ClassCastException from CompleteParseASTFactory
2004-11-20 17:48:48 +00:00
Andrew Niefer
d72d34cf02
Parser2 : fixed some stuff, added some more stuff
...
(visit initializers, add a kind of tag namespace for resolving structs)
2004-11-19 21:26:33 +00:00
John Camelon
bf7b23eb9e
Writable DOM Support for:
...
C++ Qualified Names.
ASM Declarations in C++.
Namespace Definitions & Aliases.
2004-11-19 21:16:52 +00:00
John Camelon
f5891e712a
Fixed AST2Test failure.
2004-11-19 18:53:53 +00:00
John Camelon
d533e36b40
Refactoring new parser for C++.
2004-11-19 16:32:22 +00:00
John Camelon
87785b3e67
Patch for Devin Steffler
...
Fixed 77276 - Preprocessor problem - Multi line #if are not accepted
Fixed 77097 - Preprocessor problem - Multi line #defines are not accepted
2004-11-19 16:05:43 +00:00
Andrew Niefer
235b6312f0
patch from Devin Steffler : fix for 71317 invalid overload of the name
2004-11-18 21:05:26 +00:00
John Camelon
9293cb16fb
Added AST2Tests to ParserTestSuite.
...
Move IASTNullStatement into the general dom package, it was in the C package incorrectly.
2004-11-18 20:46:23 +00:00
John Camelon
76d22e0f05
Patch for Devin Steffler
...
Fixed 77281 - Unable to parse assignment statements
Fixed 77921 - Syntax Error on initializer with floats
Fixed 76763 - Problem for #error has extra characters
2004-11-18 20:30:27 +00:00