From 5597e62a5936ef4bc55882307bc31862b27c284a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 3 Dec 2015 15:25:40 +0800 Subject: [PATCH] JSDOC/CompressWhite.vala --- JSDOC/CompressWhite.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JSDOC/CompressWhite.vala b/JSDOC/CompressWhite.vala index ca8aa78..ae1f696 100644 --- a/JSDOC/CompressWhite.vala +++ b/JSDOC/CompressWhite.vala @@ -92,10 +92,11 @@ namespace JSDOC throw new CompressWhiteError.BRACE( "could not find end lbrace!!!" ); } + tok = ts.lookTok(0); //print("AFTER BALANCE ("); //ts.dump(cu, ts.cursor); //ts.cursor--; // cursor at the ( - if (ts.balance("{").size < 1 ){ + if (tok.data != "{" || ts.balance("{").size < 1 ){ ts.dump(cu-40, cu); print(">>>>>>>>>>>>>>>>>HERE>>>>>>>>>>>>"); -- 2.39.2