aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-03-14 18:43:21 +0000
committergingerBill <bill@gingerbill.org>2021-03-14 18:43:21 +0000
commitf5142aaec41edbb85f9306216c6b199fa5adb7bb (patch)
treebf1eb80ce88441d9bde998c9d4b879f7a7d0965c /src/parser.cpp
parentdb0ac2ba984a4b395a6dfba8fcb7ab128ad96f19 (diff)
Change from `test_*` prefix to `@(test)` attribute for `odin test`
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 1b3a37c3b..46eb9145c 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -3932,6 +3932,7 @@ Ast *parse_for_stmt(AstFile *f) {
}
+
if (allow_token(f, Token_do)) {
body = convert_stmt_to_body(f, parse_stmt(f));
if (build_context.disallow_do) {