Andrew Niefer
f6bae1949b
fix bug 72537: [Parser] environment macros with pararmeters are not respected by the parser
2004-09-23 17:22:24 +00:00
Andrew Niefer
5e62215526
fix bug 72721: [Parser] new expression Constructor call with expression arg
2004-09-23 15:12:02 +00:00
John Camelon
08f62553a6
Fixed 69439 - [Content Assist] confusion when completing after "123."
2004-09-23 00:43:45 +00:00
John Camelon
1b1480e7ba
Fixed Bug 39686 - GCC complex numbers are not supported (GCC)
2004-09-21 23:42:47 +00:00
Andrew Niefer
da4608ec2c
some GCC builtins : 73954 [Parser] GCC built_in symbols
2004-09-21 20:01:25 +00:00
John Camelon
726c0f77b1
Fixed 71733 - [Scanner] Comment within multi-line macro definition not scanned properly
...
- Thanks to David Pickens who pointed me to the right place in Scanner2.
2004-09-21 18:29:36 +00:00
Andrew Niefer
cfb7157606
fix NPE from bug 74329
2004-09-20 19:33:26 +00:00
John Camelon
bea93881a3
Fixed 74328 - [Scanner][IProblem] char * initialization problem
2004-09-20 19:24:38 +00:00
Andrew Niefer
14bbb07c98
bug 73492 - [Scanner] Improper offset for particular IProblem
2004-09-20 17:45:04 +00:00
Andrew Niefer
05ca77b425
fix 72691 - [Parser] time_t is unresolved type
2004-09-17 20:58:49 +00:00
Andrew Niefer
a6f4bef6ba
73708 - [Scanner] OLRE doesn't exit scanner
2004-09-17 18:23:08 +00:00
Andrew Niefer
cdfae9c75b
74180 - [Scanner] Scanner doesn't distinguish C & C++ keywords
2004-09-17 17:56:16 +00:00
Andrew Niefer
b68b6a74dd
fix 74176 - [Scanner] ArrayIndexOutOfBoundsException scanning a string
2004-09-17 15:05:17 +00:00
Andrew Niefer
0558ecc1c9
fixing macros 72506.
...
Also make interface IMacro, change content assist to use it.
2004-09-17 14:10:28 +00:00
John Camelon
413c618734
Fixed 73615 - [Parser] NullPointerException in TokenFactory#createTokenDuple
2004-09-13 15:43:12 +00:00
John Camelon
9a9ffd59c2
Fixed 69791 [Parser] Indexer complains about va_list
...
Fixed 72529 [Scanner] Separate GCC Extension from Scanner2
Fixed 72725 [Scanner] Parser missteps on \r in escaped macros
Cleaned up IScannerExtension & implementation.
Added GCCExtensionTestSuite to ParserTestSuite.
Updated failed tests & restructured tests.
2004-09-11 23:04:28 +00:00
Andrew Niefer
a0681af9ce
fix incorrect merging of prefix lookup results from different scopes. 72559
2004-09-10 21:14:01 +00:00
Andrew Niefer
9af69e200c
fix ArrayIndexOutOfBoundsException and avoid infinite loops caused by
...
exceptions leaving the scanner. 73652
2004-09-10 18:06:03 +00:00
Andrew Niefer
bb6eaf7e55
bugs 72824, 69334
2004-09-09 20:59:22 +00:00
John Camelon
a76ec38690
Fixed 73524 - CDT 2.0.1 freezes after trying to open a large .c file
2004-09-09 18:33:49 +00:00
John Camelon
4dcc350233
Fixed bug 72220 - [Search] Cannot search when a reference is part of a return statement
2004-09-09 02:43:50 +00:00
John Camelon
173c4dc627
Fix for bug 72818 - [Search] Selection Search for Union does not work
2004-09-09 02:13:58 +00:00
John Camelon
3565c7fae5
Parser is no longer final.
2004-09-08 15:37:00 +00:00
John Camelon
9ac724d2ed
Fixed 71534 - [Parser] IUsing does not have starting offset (IASTUsingDirective)
2004-09-07 20:04:30 +00:00
John Camelon
f8a318d59e
Parser performance improvement through flattening the inheritence structure & removing reference caching.
2004-09-07 18:56:39 +00:00
Andrew Niefer
3831dd4b2e
fix broken buffer cache, 73378
2004-09-07 15:38:00 +00:00
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