summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index b6c3bd4..9bc88b2 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -25,9 +25,17 @@
#include "outputlist.h"
#include "scanner.h"
-Definition::Definition(const char *name,const char *b,const char *d)
+Definition::Definition(const char *df,int dl,
+ const char *name,const char *b,const char *d)
{
- n=name; brief=b; doc=d; sectionList=0, startBodyLine=endBodyLine=-1, bodyDef=0;
+ defFileName = df;
+ defLine = dl;
+ n=name;
+ brief=b;
+ doc=d;
+ sectionList=0,
+ startBodyLine=endBodyLine=-1,
+ bodyDef=0;
}
Definition::~Definition()