mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Started hooking up incremental parse for PDOM.
This commit is contained in:
parent
9d23691e35
commit
88dc548a51
1 changed files with 2 additions and 2 deletions
|
@ -116,10 +116,10 @@ public class InternalASTServiceProvider implements IASTServiceProvider {
|
||||||
IScanner scanner = null;
|
IScanner scanner = null;
|
||||||
ISourceCodeParser parser = null;
|
ISourceCodeParser parser = null;
|
||||||
|
|
||||||
if( configuration == null )
|
if( configuration == null || configuration.getParserDialect() == null)
|
||||||
{
|
{
|
||||||
ParserLanguage l = getLanguage(filename, project);
|
ParserLanguage l = getLanguage(filename, project);
|
||||||
IScannerExtensionConfiguration scannerExtensionConfiguration = null;
|
IScannerExtensionConfiguration scannerExtensionConfiguration;
|
||||||
if( l == ParserLanguage.CPP )
|
if( l == ParserLanguage.CPP )
|
||||||
scannerExtensionConfiguration = CPP_GNU_SCANNER_EXTENSION;
|
scannerExtensionConfiguration = CPP_GNU_SCANNER_EXTENSION;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue