1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 475581 - Make AbstractCLikeLanguage.createScanner() not final

This allows extenders to replace the preprocessor.

Change-Id: I8c6a53225608e4a21560b31bed3b5f37291ba612
This commit is contained in:
Nathan Ridge 2017-01-31 18:30:44 -05:00
parent c6955df2e2
commit 27775e3393

View file

@ -270,7 +270,7 @@ public abstract class AbstractCLikeLanguage extends AbstractLanguage implements
* Create the scanner to be used with the parser.
* @since 5.2
*/
protected final IScanner createScanner(FileContent content, IScannerInfo scanInfo, IncludeFileContentProvider fcp, IParserLogService log) {
protected IScanner createScanner(FileContent content, IScannerInfo scanInfo, IncludeFileContentProvider fcp, IParserLogService log) {
return new CPreprocessor(content, scanInfo, getParserLanguage(), log, getScannerExtensionConfiguration(scanInfo), fcp);
}