Cosmetics: removal of EOL blanks

This commit is contained in:
igor%mir2.org 2003-09-03 14:26:39 +00:00
parent 246cf5a850
commit fbd31b0fe2

View File

@ -266,7 +266,7 @@ public class Codegen extends Interpreter {
{ {
boolean hasScript = (scriptOrFnNodes[0].getType() == Token.SCRIPT); boolean hasScript = (scriptOrFnNodes[0].getType() == Token.SCRIPT);
boolean hasFunctions = (scriptOrFnNodes.length > 1 || !hasScript); boolean hasFunctions = (scriptOrFnNodes.length > 1 || !hasScript);
String sourceFile = null; String sourceFile = null;
if (generateDebugInfo) { if (generateDebugInfo) {
sourceFile = scriptOrFnNodes[0].getSourceName(); sourceFile = scriptOrFnNodes[0].getSourceName();
@ -285,7 +285,7 @@ public class Codegen extends Interpreter {
if (hasFunctions) { if (hasFunctions) {
generateFunctionConstructor(cfw); generateFunctionConstructor(cfw);
} }
if (hasScript) { if (hasScript) {
cfw.addInterface("org/mozilla/javascript/Script"); cfw.addInterface("org/mozilla/javascript/Script");
generateScriptCtor(cfw); generateScriptCtor(cfw);