JSDOC/TokenReader.vala
authorAlan Knowles <alan@roojs.com>
Tue, 22 Sep 2015 09:33:13 +0000 (17:33 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 22 Sep 2015 09:33:13 +0000 (17:33 +0800)
JSDOC/TokenReader.vala

index 2244139..c74be2b 100644 (file)
@@ -70,19 +70,19 @@ namespace JSDOC {
          */
         
         /** @cfg {Boolean} collapseWhite merge multiple whitespace/comments into a single token **/
-        public bool collapseWhite = false, // only reduces white space...
+        public bool collapseWhite = false; // only reduces white space...
         /** @cfg {Boolean} keepDocs keep JSDOC comments **/
-        public bool keepDocs = true,
+        public bool keepDocs = true;
         /** @cfg {Boolean} keepWhite keep White space **/
-        public bool keepWhite = false,
+        public bool keepWhite = false;
         /** @cfg {Boolean} keepComments  keep all comments **/
-        public bool keepComments = false,
+        public bool keepComments = false;
         /** @cfg {Boolean} sepIdents seperate identifiers (eg. a.b.c into ['a', '.', 'b', '.', 'c'] ) **/
-        public bool sepIdents = false,
+        public bool sepIdents = false;
         /** @cfg {String} filename name of file being parsed. **/
         public string filename = "";
         /** @config {Boolean} ignoreBadGrammer do not throw errors if we find stuff that might break compression **/
-        public bool ignoreBadGrammer = false,
+        public bool ignoreBadGrammer = false;
         
         
         int line = 0;
@@ -209,7 +209,7 @@ namespace JSDOC {
                     //Seed.print('(@' + n);
                     
                     var lt = this.lastSym(tokens, n);
-                    
+                    /*
                     //print(JSON.stringify(lt));
                     if (lt.type != "KEYW" || ["IF", 'WHILE'].indexOf(lt.name) < -1) {
                         if (!this.ignoreBadGrammer) {
@@ -219,7 +219,7 @@ namespace JSDOC {
                         }
                     }
                     
-                    
+                    */
                     
                 }