mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: dynamicCode: display line numbers
This commit is contained in:
@ -51,6 +51,7 @@ namespace Foam
|
||||
class dynamicCodeContext
|
||||
{
|
||||
// Private data
|
||||
|
||||
//- The parent dictionary context
|
||||
const dictionary& dict_;
|
||||
|
||||
@ -123,6 +124,13 @@ public:
|
||||
return sha1_;
|
||||
}
|
||||
|
||||
//- Helper: add #line directive
|
||||
static void addLineDirective
|
||||
(
|
||||
string&,
|
||||
const label lineNum,
|
||||
const fileName& name
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user