John Camelon
7fb669d877
Moving Macro to the right package.
2004-08-31 14:31:57 +00:00
John Camelon
679764813d
Fixed 72530 - Merge ExpressionParser & Parser back together
2004-08-30 19:45:33 +00:00
John Camelon
6dc6b84d4b
Fixed 72527 - [Scanner] Remove Scanner, ScannerException & clean up IScanner interface
2004-08-30 15:17:40 +00:00
John Camelon
9dbce05b79
Partial fix for bug 72535 - [Parser] Parser (and indexer) hangs on mutual inclusion
2004-08-24 19:57:11 +00:00
Andrew Niefer
72ff239e40
fix 72219
2004-08-23 19:28:03 +00:00
John Camelon
f599a0998b
Returned public CodeReader( String filename, InputStream stream ) signature.
2004-08-20 14:21:12 +00:00
John Camelon
b9768b37d5
Fixed Bug 71839 [Parser] Parser in infinite loop (ExpressionParser.errorHandling())
2004-08-19 03:29:26 +00:00
John Camelon
9d31baf489
Parser.translationUnit() should rethrow out of memory exception after shielding it from the error handling routine.
2004-08-16 19:59:00 +00:00
John Camelon
4c6cfc77cf
Fixed Bug 71530 [Scanner] CModel Line Numbers are incorrect w/Scanner2
2004-08-16 19:55:45 +00:00
John Camelon
5a650d1e6e
Made DEFAULT encoding name a public member of CodeReader.
2004-08-16 17:34:01 +00:00
Andrew Niefer
c2f1517d54
fix parsing international files
...
bug 70852, 70927
2004-08-13 19:52:32 +00:00
John Camelon
c827e9e543
Fix a few NPE's.
2004-08-13 18:58:56 +00:00
Andrew Niefer
01798aba6b
oops. fix ArrayOutOfBoundsException
2004-08-13 14:41:26 +00:00
Andrew Niefer
df84ae7f47
fix bug 70073
2004-08-12 19:44:54 +00:00
Andrew Niefer
c18839fd5b
fixing 71588
2004-08-11 20:20:12 +00:00
Andrew Niefer
0bbf50fc98
fix 71331
2004-08-11 20:02:42 +00:00
Andrew Niefer
7944065574
from a patch originally from Dave Daoust, consolidate the Scanner2 data
...
structures into a heirarchy, and for the char[] maps/sets, if the capacity is
<= 2, then don't use the hash and just do a linear search.
also clean up a couple of uses of ObjectSet that had size 0 in the symbol table,
use EMPTY_SET insteard.
2004-08-11 17:56:01 +00:00
Andrew Niefer
04b2ae06b5
Add IASTQualifiedNameElement.getFullyQualifiedNameCharArrays()
...
and modify Search to take advantage of the IAST providing char[]s.
2004-08-10 20:40:14 +00:00
John Camelon
791e958905
Fixed Bug 70928 [Parser] Indexer complains about __cdecl
2004-08-10 19:52:20 +00:00
Andrew Niefer
e803a76b2a
fix bug 71410.
...
move test FailedCompleteParseASTTest.testInheritsFromTemplateParameter_bug71410()
to CompleteParseASTTemplateTest.java
2004-08-10 19:33:52 +00:00
John Camelon
7645cbc478
Fixed 71656 - [Parser] Infinite Loop on Out of Memory Exception
2004-08-10 17:39:05 +00:00
Andrew Niefer
0c2fcb2413
fix bug 71669
2004-08-09 18:44:52 +00:00
Andrew Niefer
8a46210f8c
- fix problem with content assist when there are macros & header files
...
- fix small problem which resulted in possible erroneus scanner problems while macro pasting
2004-08-07 18:37:25 +00:00
Vladimir Hirsl
f47c792501
Added JUnit tests for following PRs (discovered during parsing of <iostream> header file):
...
69751, 70928, 71317, 71331, 71410, 71588, 71603.
Also a small fix for parser Problem class after String to char[] optimization.
2004-08-06 21:14:55 +00:00
Andrew Niefer
d38225d581
- add IProblem reporting to Scanner2
...
- modify function macro handling to fix test for bug 62009
- modify Search's use of the scanner to fix FunctionMethodPatternTest::testOperators_bug43063_bug42979
2004-08-06 19:42:57 +00:00
John Camelon
abe2eac5c3
Add __declspec support to Scanner2.
2004-08-06 14:07:01 +00:00
John Camelon
df2be63243
Scanner2 + entire UI AutomatedSuite now pass.
2004-08-06 00:57:15 +00:00
John Camelon
33075ba9ae
Further Scanner2/Content Assist work - making CA work for ppDirectives.
2004-08-05 23:26:03 +00:00
John Camelon
9e4777cd49
Fixed a bunch of ui.tests for content assist w/Scanner2.
2004-08-05 22:36:35 +00:00
John Camelon
7151e214e8
Add __signed__ keyword to Scanner2.
2004-08-05 21:51:38 +00:00
John Camelon
bbb4bddce2
Remove IMacroDescriptor dependency upon IASTMacro.
2004-08-05 21:46:46 +00:00
John Camelon
a6f95db7c2
Further Scanner2 progress w/Line Numbers & Content Assist.
2004-08-05 20:33:23 +00:00
Andrew Niefer
7d757bfbc2
partial fix for function macro argument substitution, this will be enough
...
to let Scanner2.testStringify and the tests for 60764, 36047 to pass.
2004-08-05 19:56:50 +00:00
Andrew Niefer
a502b9fbc6
-Implement Scanner2.getDefinitions
...
-fix up macro stringizing, repairs broken tests for 36509 & 36701
2004-08-05 19:05:06 +00:00
John Camelon
8c3a9a10b1
Further progress in making Scanner2 pass the IIncludeTests.
2004-08-05 17:48:22 +00:00
John Camelon
fd62bdd86c
Activated Scanner2 in HEAD.
...
Forgive me Lord, for I know what I do.
2004-08-05 15:22:00 +00:00
John Camelon
903d1ac7a8
Fixed defects 71094 & 68528.
2004-08-04 19:26:31 +00:00
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