JSDOC/Scope.vala
authorAlan Knowles <alan@roojs.com>
Wed, 25 Nov 2015 09:38:33 +0000 (17:38 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 25 Nov 2015 09:38:33 +0000 (17:38 +0800)
JSDOC/Scope.vala

index 2be9827..5397009 100644 (file)
@@ -352,12 +352,12 @@ namespace JSDOC
                        Scope.ones = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z".split(",");
                        var n = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,4,5,6,7,8,9".split(",");
 
-
+                       string[] twos = {};
                        for(var i = 0; i < Scope.ones.length; i++) {
                            for(var j = 0; j < n.length; j++) {
                                string tw = Scope.ones[i] + n[j];
                                if (Scope.skips.index_of(tw) < 0) {
-                                   Scope.twos += tw;
+                                   twos += tw;
                                }
                                    
                                /*
@@ -373,6 +373,7 @@ namespace JSDOC
                                */
                            }
                        }
+                       Scope.twos = twos;
                        //println("done creating var list");
                        //println("threes="+ this.threes.toSource());
                        //throw "DONE";