src/jsdoc/Packer.vala
authorAlan Knowles <alan@roojs.com>
Tue, 21 Jun 2016 06:57:15 +0000 (14:57 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 21 Jun 2016 06:57:15 +0000 (14:57 +0800)
src/jsdoc/Packer.vala

index bcf5552..927edb0 100644 (file)
@@ -138,7 +138,16 @@ namespace JSDOC
                
                public Packer()
                {
+#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                 
                        this.files = new Gee.ArrayList<string>();
                        
                        new Lang_Class(); ///initilizaze lang..