JSDOC/TokenReader.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 Oct 2015 09:01:01 +0000 (17:01 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 Oct 2015 09:01:01 +0000 (17:01 +0800)
JSDOC/TokenReader.vala

index fcc6159..33a79db 100644 (file)
@@ -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));