src/jsdoc/Symbol.vala
authorAlan Knowles <alan@roojs.com>
Wed, 29 Mar 2017 08:56:16 +0000 (16:56 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Mar 2017 08:56:16 +0000 (16:56 +0800)
src/jsdoc/Symbol.vala

index 8cca1d5..e77822e 100644 (file)
@@ -176,8 +176,9 @@ namespace JSDOC {
             this.alias = this.getName();
             this.setParams(params);
             this.isa = (isa == "VIRTUAL")? "OBJECT":isa;
-            this.comment = comment || new DocComment("");
-            this.srcFile = Symbol.srcFile;
+            this.comment = comment || new DocComment("")
+            ;
+            this.srcFile = DocParser.currentSourceFile;