From: Alan Knowles Date: Wed, 14 Jul 2010 08:26:49 +0000 (+0800) Subject: JSDOC/CompressWhite.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=8aed7180503922fdc34f4c8b6b4d6ecf70fedada JSDOC/CompressWhite.js --- 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;