From 23f414b9277449ada36e170414e61b070836ceda Mon Sep 17 00:00:00 2001 From: Jacob G-W Date: Tue, 6 Jul 2021 18:14:46 -0400 Subject: [PATCH] stage1 parser: update comments to match impl --- src/stage1/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stage1/parser.cpp b/src/stage1/parser.cpp index b28c68e063e8a9671cdcaeb3679a22101671bcda..9a429364b10518c76ae938d01056ac7d1864cf9b 100644 --- a/src/stage1/parser.cpp +++ b/src/stage1/parser.cpp @@ -626,7 +626,7 @@ static AstNodeContainerDecl ast_parse_container_members(ParseContext *pc) { return res; } -// TestDecl <- KEYWORD_test STRINGLITERALSINGLE Block +// TestDecl <- KEYWORD_test STRINGLITERALSINGLE? Block static AstNode *ast_parse_test_decl(ParseContext *pc) { TokenIndex test = eat_token_if(pc, TokenIdKeywordTest); if (test == 0) -- 2.54.0