Andrew Niefer
d4261f7fc8
Switch PST templates to use ObjectMap instead of HashMap
...
Remove use of Stack in the parser (replaced where necessary with custom
implementation)
2004-08-03 21:21:11 +00:00
Andrew Niefer
c6c90a1e95
further removal of iterators
2004-08-03 15:12:09 +00:00
Alain Magloire
fa38a77470
2004-07-30 Alain Magloire
...
In the StrutureParseCallback add the
IASTUsingDirective
IASTUsingDeclaration
part of the return declarations
* org/eclipse/cdt/internal/core/parser/ast/StructuralParseCallback.java
2004-07-30 19:11:05 +00:00
Andrew Niefer
9ffd548ae7
remove LinkedLists, start reducing the use of Iterators
2004-07-29 21:08:36 +00:00
Andrew Niefer
b5edc37774
Fix CompleteParseASTExpressionTest.testPrimaryCharLiteral under Scanner2
2004-07-29 17:36:51 +00:00
John Camelon
d134c5e5d3
Further Scanner2 work and improvements.
2004-07-29 14:31:21 +00:00
Andrew Niefer
89010e954f
cleaning up more strings
2004-07-28 21:48:27 +00:00
Andrew Niefer
0dda631a21
modify Scanner2.scanIdentifier wrt escaped newlines.
...
remove a couple of uses of String
2004-07-28 20:53:13 +00:00
John Camelon
a7fcc4aa84
Scanner2 fixes for SelectionSearch & Content Assist JUnit failures.
2004-07-28 20:28:15 +00:00
John Camelon
ccb8357725
Further Scanner2 junit fixes.
2004-07-28 19:28:40 +00:00
John Camelon
c24ed6aa2a
Further Scanner2 work regarding macro expansions.
2004-07-27 19:18:19 +00:00
Andrew Niefer
b08d93dfd7
last of string to char[] changes
2004-07-27 18:13:49 +00:00
Andrew Niefer
f9b6ff9584
fix problem with Keywords.cpSEMI
2004-07-27 17:35:01 +00:00
Andrew Niefer
d3dedc7ac9
fix problem introduce by my last patch
2004-07-27 16:11:26 +00:00
Andrew Niefer
2474e4f8b6
more string to char[] changes. savings of about 10 meg (old scanner)
2004-07-27 15:51:46 +00:00
Andrew Niefer
3a58a1be85
More string to char[] changes. savings of about 4 Meg on this one.
2004-07-27 14:55:57 +00:00
Andrew Niefer
18d9318d4d
More replacing strings with char[]. This patch brings the memory back
...
down to a little less than what it was before my last patch.
2004-07-22 21:32:43 +00:00
Andrew Niefer
7f0142b2e8
Replacing strings with char arrays
2004-07-22 19:32:56 +00:00
John Camelon
05fa0e698c
Start of line number support for Scanner2.
2004-07-22 19:02:45 +00:00
John Camelon
cb47b164a0
Further improve SelectionSearch w/Scanner2.
2004-07-22 18:47:50 +00:00
John Camelon
12268e9104
Added getFilename() to IToken, ITokenDuple & IASTOffsetableNamedElement.
...
This improves the accuracy of selection search w/the new scanner (and without).
2004-07-22 18:38:26 +00:00
John Camelon
49b74b0eea
Add local inclusion capability to Scanner2.
2004-07-22 13:35:12 +00:00
John Camelon
98f3ab7804
Initial SelectionSearch support for Scanner2.
2004-07-21 20:16:43 +00:00
John Camelon
a17096c97e
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=69872 .
...
Moved TimeOut to parser public package in src/ and renamed it to ParserTimeOut.
See resolution description in the defect for more details.
2004-07-21 17:57:57 +00:00
John Camelon
81a765a048
Add toCharArray() to ITokenDuple. Add getCharImage() to IToken.
2004-07-21 14:32:55 +00:00
Andrew Niefer
58562529e5
Further transition away from java.util collections in the symbol table
2004-07-20 20:22:07 +00:00
John Camelon
34f16c8600
Fixed up enough of Scanner2 to allow Content Assist to work.
2004-07-20 14:52:52 +00:00
Andrew Niefer
b944b852c0
fix some template issues
2004-07-19 20:07:18 +00:00
John Camelon
826dbd3f7d
Further Scanner2 migration work.
2004-07-19 19:41:13 +00:00
Doug Schaefer
9290f8c77d
Added in commented out timing code for the completion parser.
2004-07-19 17:35:51 +00:00
John Camelon
1b2ac0d808
Further Scanner2 work.
2004-07-18 21:17:10 +00:00
John Camelon
cd1605463c
Minor cleanups.
2004-07-16 18:47:37 +00:00
Andrew Niefer
628114dbeb
fix double increment
2004-07-16 13:45:21 +00:00
Andrew Niefer
658a98966c
Start of removing java.util containers from the symbol table.
2004-07-15 21:01:58 +00:00
John Camelon
dbd947fc1d
Fixing more Scanner2 failed tests.
2004-07-15 20:15:15 +00:00
John Camelon
6f274623f2
Scanner2 - Allow escaped newlines within identifiers.
2004-07-15 14:17:45 +00:00
John Camelon
551a9b7bae
Further progress w/Scanner2.
2004-07-15 13:58:08 +00:00
Andrew Niefer
672ad678a0
small tweak to previous fix for bug 69662
2004-07-13 19:33:13 +00:00
Andrew Niefer
450023d505
fix bug 69662 - conversion operator definitions
2004-07-13 19:23:43 +00:00
Andrew Niefer
11f779dbd9
fix bug 68739 - open declaration on fprintf
2004-07-13 17:55:00 +00:00
Andrew Niefer
af4317e0a4
fix bug 69745
2004-07-12 20:59:31 +00:00
Andrew Niefer
efc3b9c4ab
bug 69744 - better error handling around catch blocks
2004-07-12 19:43:57 +00:00
Andrew Niefer
610efadb58
fix bug 69798
2004-07-12 18:46:41 +00:00
Andrew Niefer
993b0299f4
bug 69833 - Use hashmaps during completion parse and then just sort the
...
prefix lookup results at the end
2004-07-12 18:03:48 +00:00
John Camelon
bbfd876909
Reduced memory footprint and object count through the flattening of certain AST constructs.
...
<BR>
Deleted classes Offsets & NamedOffsets.<BR>
This will aid garbage collection and performance. <BR>
2004-07-12 15:47:36 +00:00
John Camelon
f25575ee4d
Removed warning.
2004-07-12 14:47:56 +00:00
Andrew Niefer
14fc9a1512
oops, forgot this
2004-07-12 14:35:42 +00:00
Andrew Niefer
e560975741
fix memory leak in the symbol table.
...
also fix a couple of places that were still doing symbol forwarding the old way
2004-07-12 14:16:50 +00:00
Andrew Niefer
226defa14a
bug 69296 - remove ILineOffsetReconciler
2004-07-09 15:06:59 +00:00
Andrew Niefer
b8324eb1a0
bugs 68623 & 69428 - fix up parsing of constructor initializers
2004-07-08 21:32:20 +00:00