We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ee12d commit d7936c4Copy full SHA for d7936c4
src/main/java/com/annimon/ownlang/parser/Parser.java
@@ -156,7 +156,7 @@ private Statement statement() {
156
return functionDefine();
157
}
158
if (match(TokenType.MATCH)) {
159
- return new ExprStatement(match());
+ return match();
160
161
if (lookMatch(0, TokenType.WORD) && lookMatch(1, TokenType.LPAREN)) {
162
return new ExprStatement(functionChain(qualifiedName()));
0 commit comments