mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: dynamicCodeContext: do not add line number to Make/options
This commit is contained in:
@ -112,13 +112,9 @@ Foam::dynamicCodeContext::dynamicCodeContext(const dictionary& dict)
|
|||||||
addLineDirective(include_, includePtr->startLineNumber(), dict.name());
|
addLineDirective(include_, includePtr->startLineNumber(), dict.name());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do not add line directive to options_ (Make/options) since at it is a
|
// Do not add line directive to options_ (Make/options) and libs since
|
||||||
// single line at this point. Can be fixed.
|
// they are preprocessed as a single line at this point. Can be fixed.
|
||||||
|
|
||||||
if (libsPtr)
|
|
||||||
{
|
|
||||||
addLineDirective(libs_, libsPtr->startLineNumber(), dict.name());
|
|
||||||
}
|
|
||||||
if (localPtr)
|
if (localPtr)
|
||||||
{
|
{
|
||||||
addLineDirective(localCode_, localPtr->startLineNumber(), dict.name());
|
addLineDirective(localCode_, localPtr->startLineNumber(), dict.name());
|
||||||
|
|||||||
Reference in New Issue
Block a user