enjoy 4.4 release ^_^

This commit is contained in:
James
2019-08-20 21:29:19 +08:00
parent 6156051e16
commit 442a920366
14 changed files with 280 additions and 107 deletions

View File

@@ -71,7 +71,7 @@ public class Parser {
}
public StatList parse() {
tokenList = new Lexer(content, fileName).scan();
tokenList = new Lexer(content, fileName, env.getEngineConfig().getKeepLineBlankDirectives()).scan();
tokenList.add(EOF);
StatList statList = statList();
if (peek() != EOF) {
@@ -207,11 +207,11 @@ public class Parser {
matchEnd(name);
}
return ret;
case EOF:
case PARA:
case ELSEIF:
case ELSE:
case END:
case EOF:
case CASE:
case DEFAULT:
return null;