浏览代码

jfinal 4.4

James 6 年之前
父节点
当前提交
ddbae72ba9
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/main/java/com/jfinal/template/stat/Lexer.java

+ 2 - 3
src/main/java/com/jfinal/template/stat/Lexer.java

@@ -28,8 +28,6 @@ class Lexer {
 	static final char EOF = (char)-1;
 	static final int TEXT_STATE_DIAGRAM = 999;
 	
-	Set<String> keepLineBlankDirectives;
-	
 	char[] buf;
 	int state = 0;
 	int lexemeBegin = 0;
@@ -38,8 +36,9 @@ class Lexer {
 	int forwardRow = 1;
 	TextToken previousTextToken = null;
 	
-	List<Token> tokens = new ArrayList<Token>();
 	String fileName;
+	Set<String> keepLineBlankDirectives;
+	List<Token> tokens = new ArrayList<Token>();
 	
 	public Lexer(StringBuilder content, String fileName, Set<String> keepLineBlankDirectives) {
 		this.keepLineBlankDirectives = keepLineBlankDirectives;