From 39e3947fd0362542f90a54a1f16e6169bb8b24be Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 3 Dec 2015 15:46:25 +0800 Subject: [PATCH] JSDOC/CompressWhite.vala --- JSDOC/CompressWhite.vala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/JSDOC/CompressWhite.vala b/JSDOC/CompressWhite.vala index 79952e2..4114c97 100644 --- a/JSDOC/CompressWhite.vala +++ b/JSDOC/CompressWhite.vala @@ -83,7 +83,7 @@ namespace JSDOC var cu = ts.cursor; print("NEXT = should be brac: %s\n", ts.lookTok(1).asString()); - + print("cursor = %d", ts.cursor); if (ts.lookTok(1).data != "(" || ts.balance("(").size < 1 ){ print("balance ( issue on line %d\n", ts.toArray().get(cu).line); @@ -93,12 +93,13 @@ namespace JSDOC throw new CompressWhiteError.BRACE( "could not find end lbrace!!!" ); } + print("cursor = %d", ts.cursor); 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("cursor = %d", ts.cursor); //print("AFTER BALANCE ("); //ts.dump(cu, ts.cursor); //ts.cursor--; // cursor at the ( -- 2.39.2