JSDOC/CompressWhite.vala
authorAlan Knowles <alan@roojs.com>
Thu, 3 Dec 2015 07:43:21 +0000 (15:43 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 3 Dec 2015 07:43:21 +0000 (15:43 +0800)
JSDOC/CompressWhite.vala

index dffe4f2..79952e2 100644 (file)
@@ -93,8 +93,10 @@ namespace JSDOC
                                    
                                    throw new CompressWhiteError.BRACE( "could not find end lbrace!!!" );
                                }
-                               tok = ts.lookTok(0);
-                               
+                               print("CUR = should be ): %s\n", ts.lookTok(0).asString());
+
+                               tok = ts.nextTok();
+                               print("CUR = should be {: %s\n", ts.lookTok(0).asString());                             
                                cu = ts.cursor; // set the cursor to here.. so the next bit of the code will check inside the method.
                                
                                //print("AFTER BALANCE (");