James 7 年 前
コミット
8dadcae751
1 ファイル変更3 行追加3 行削除
  1. 3 3
      src/main/java/com/jfinal/template/stat/ast/Call.java

+ 3 - 3
src/main/java/com/jfinal/template/stat/ast/Call.java

@@ -45,7 +45,6 @@ public class Call extends Stat {
 		this.callIfDefined = callIfDefined;
 		this.callIfDefined = callIfDefined;
 	}
 	}
 	
 	
-	/*
 	public void exec(Env env, Scope scope, Writer writer) {
 	public void exec(Env env, Scope scope, Writer writer) {
 		Define function = env.getFunction(funcName);
 		Define function = env.getFunction(funcName);
 		if (function != null) {
 		if (function != null) {
@@ -55,8 +54,9 @@ public class Call extends Stat {
 		} else {
 		} else {
 			throw new TemplateException("Template function not defined: " + funcName, location);
 			throw new TemplateException("Template function not defined: " + funcName, location);
 		}
 		}
-	}*/
+	}
 	
 	
+	/*
 	public void exec(Env env, Scope scope, Writer writer) {
 	public void exec(Env env, Scope scope, Writer writer) {
 		if (function == null) {
 		if (function == null) {
 			Define temp = env.getFunction(funcName);
 			Define temp = env.getFunction(funcName);
@@ -75,6 +75,6 @@ public class Call extends Stat {
 		} else {
 		} else {
 			function.call(env, scope, exprList, writer);
 			function.call(env, scope, exprList, writer);
 		}
 		}
-	}
+	}*/
 }
 }