From 8aed7180503922fdc34f4c8b6b4d6ecf70fedada Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 14 Jul 2010 16:26:49 +0800 Subject: [PATCH] JSDOC/CompressWhite.js --- JSDOC/CompressWhite.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/JSDOC/CompressWhite.js b/JSDOC/CompressWhite.js index da6e505..a79372e 100644 --- a/JSDOC/CompressWhite.js +++ b/JSDOC/CompressWhite.js @@ -92,7 +92,9 @@ CompressWhite = function (ts, packer) // if next is not ';' -> make it so... // although this var a=function(){},v,c; causes if (ts.lookTok(1).data != ';' && ts.lookTok(1).data != '}' && ts.look(1,true).name == "NEWLINE") { + ts.look(0).outData = ts.look(0).data+";"; + print("ADDING SEMI: " + ts.look(0).toString(); } // restore.. ts.cursor = cu; -- 2.39.2