roojspacker/Packer.vala
authorAlan Knowles <alan@roojs.com>
Fri, 22 Feb 2019 02:40:53 +0000 (10:40 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 22 Feb 2019 02:40:53 +0000 (10:40 +0800)
roojspacker/Packer.vala

index de38574..1e1bf14 100644 (file)
@@ -101,16 +101,15 @@ namespace JSDOC
                public Packer(PackerRun config)
                {
                        this.config = config;
-#if HAVE_JSON_GLIB
+##if HAVE_JSON_GLIB
                        this.result = new Json.Object();
-#else
-                       this.result_count = new  Gee.HashMap <string,int>();
-               
-                       this.result =  new Gee.HashMap<
-                               string /* errtype*/ , Gee.HashMap<string /*fn*/,     Gee.HashMap<int /*line*/, Gee.ArrayList<string>>>
-                       >();
-       
-#endif                 
+##else
+#                      this.result_count = new  Gee.HashMap <string,int>();
+#              
+#                      this.result =  new Gee.HashMap<
+#                              string /* errtype*/ , Gee.HashMap<string /*fn*/,     Gee.HashMap<int /*line*/, Gee.ArrayList<string>>>
+#                      >();
+##endif                        
                        this.files = new Gee.ArrayList<string>();
                        
                        new Lang_Class(); ///initilizaze lang..