From c95a1138bac58d5d29ce6e7ac2d42f4cffc653a3 Mon Sep 17 00:00:00 2001 From: Ned Palacios Date: Sun, 24 May 2020 16:36:17 +0800 Subject: [PATCH] repl: fix one-line for-loop printing --- cmd/tools/vrepl.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/vrepl.v b/cmd/tools/vrepl.v index ab9c258ddb..13c99ee03b 100644 --- a/cmd/tools/vrepl.v +++ b/cmd/tools/vrepl.v @@ -195,7 +195,7 @@ fn run_repl(workdir string, vrepl_prefix string) { '=', '++', '--', '<<', '//', '/*', 'fn ', 'pub ', 'mut ', 'enum ', 'const ', 'struct ', 'interface ', 'import ', - '#include ', ':=' + '#include ', ':=', 'for ' ] mut is_statement := false for pattern in possible_statement_patterns {