From ee36fce0b331f3708686d432dc3eb8e173264a95 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 22 Sep 2015 17:33:43 +0800 Subject: [PATCH] JSDOC/TokenReader.vala --- JSDOC/TokenReader.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/JSDOC/TokenReader.vala b/JSDOC/TokenReader.vala index c87f4ac..4ec980b 100644 --- a/JSDOC/TokenReader.vala +++ b/JSDOC/TokenReader.vala @@ -343,7 +343,7 @@ namespace JSDOC { tokens.push(new Token(found, "WHIT", "NEWLINE", line)); } return true; - }, + } /** @returns {Boolean} Was the token found? @@ -369,7 +369,7 @@ namespace JSDOC { // to start doclet we allow /** or /*** but not /**/ or /**** //if (found.length /^\/\*\*([^\/]|\*[^*])/.test(found) && this.keepDocs) { - if ((this.keepDocs && found.length > 4 && found.index_of("/**") == 0 && found[3] != "/") { + if (this.keepDocs && found.length > 4 && found.index_of("/**") == 0 && found[3] != "/") { tokens.push(new Token(found, "COMM", "JSDOC", this.line)); } else if (this.keepComments) { tokens.push(new Token(found, "COMM", "MULTI_LINE_COMM", line)); @@ -439,7 +439,7 @@ namespace JSDOC { } return false; - }, + } /** @returns {Boolean} Was the token found? -- 2.39.2