fix: end function后必须多一个空行的问题
This commit is contained in:
parent
6843bb4af2
commit
11c2dd7ad7
@ -140,7 +140,6 @@ public class FunctionParser implements TopLevelParser {
|
|||||||
private void parseFunctionFooter(TokenStream ts) {
|
private void parseFunctionFooter(TokenStream ts) {
|
||||||
ts.expect("end");
|
ts.expect("end");
|
||||||
ts.expect("function");
|
ts.expect("function");
|
||||||
ts.expectType(TokenType.NEWLINE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user