JSDOC/TokenReader.vala
[gnome.introspection-doc-generator] / JSDOC / TokenReader.vala
index c87f4ac..4ec980b 100644 (file)
@@ -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?