Only output explicit extension directives in preprocessing.
Preprocessing output shouldn't contain extensions enabled as dependencies.
This commit is contained in:
parent
222457054e
commit
1d2996db68
6 changed files with 11 additions and 5 deletions
|
|
@ -475,9 +475,6 @@ bool TParseContext::extensionsTurnedOn(int numExtensions, const char* const exte
|
|||
//
|
||||
void TParseContext::updateExtensionBehavior(int line, const char* extension, const char* behaviorString)
|
||||
{
|
||||
if (extensionCallback)
|
||||
extensionCallback(line, extension, behaviorString);
|
||||
|
||||
// Translate from text string of extension's behavior to an enum.
|
||||
TExtensionBehavior behavior = EBhDisable;
|
||||
if (! strcmp("require", behaviorString))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue