ENH: dynamicCode: display line numbers

This commit is contained in:
mattijs
2011-03-25 04:43:29 +00:00
parent 19f88515a3
commit 20b1d49a82
6 changed files with 114 additions and 33 deletions

View File

@ -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
);
};