[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-patch] Parser patch - preliminary templates, scanner fix es
|
Sounds like a bug for John. Could you send us the file it was puking on.
Thanks,
Doug Schaefer
Senior Staff Software Engineer
Rational Software - IBM Software Group
Ottawa (Kanata), Ontario, Canada
-----Original Message-----
From: Alain Magloire [mailto:alain@xxxxxxx]
Sent: Monday, March 31, 2003 11:50 AM
To: cdt-patch@xxxxxxxxxxx
Subject: Re: [cdt-patch] Parser patch - preliminary templates, scanner fixes
>
> Core Changes
> Updated Scanner to work for Strings literals like L"this string"
> Updated Scanner to work for floating points literals.
> Updated Scanner to be more forgiving on errors in QuickScan mode.
> Got template instantiation and specialization working (w/callbacks
> and DOM).
> Updated Parser/Callbacks for handle pure virtual function
> declarations.
> Added callback support for some template declarations (nested not
> included).
>
> Test Changes
> Added testWeirdStrings() and testNumerics() to ScannerTestCase.
> Added testTemplateSpecialization(), testTemplateDeclaration(),
> testBug26467(),
> testTypedef() and testTemplateInstantiation() to DOMTests.
I have the default set to the new Parser.
I'm not sure if it was this patch, but now it always throw
NullPointerExcetion:
Thread [org.eclipse.jface.text.reconciler.Reconciler] (Suspended (exception
NullPointerException))
Parser.consume() line: 2013
Parser.simpleDeclaration(Object) line: 548
Parser.declaration(Object) line: 443
Parser.classSpecifier(Object) line: 1287
Parser.declSpecifierSeq(Object, boolean) line: 714
Parser.simpleDeclaration(Object) line: 512
Parser.declaration(Object) line: 443
Parser.translationUnit() line: 85
Parser.parse() line: 64
WorkingCopyInfo(TranslationUnitInfo).parse(InputStream) line: 49
WorkingCopyInfo(TranslationUnitInfo).parse(String) line: 65
WorkingCopy(TranslationUnit).parse() line: 460
WorkingCopy(TranslationUnit).generateInfos(OpenableInfo,
IProgressMonitor, Map, IResource) line: 305
WorkingCopy(TranslationUnit).buildStructure(OpenableInfo,
IProgressMonitor) line: 224
WorkingCopy(TranslationUnit).makeConsistent(IProgressMonitor) line:
423
WorkingCopy.reconcile(boolean, IProgressMonitor) line: 313
CReconcilingStrategy.reconcile() line: 86
CReconcilingStrategy.reconcile(IRegion) line: 65
Reconciler.process(DirtyRegion) line: 124
AbstractReconciler$BackgroundThread.run() line: 189
_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-patch