From f5fca00d372a589953aee3098dce28d379ca8564 Mon Sep 17 00:00:00 2001 From: Maddi Kopfermann Date: Sun, 28 Jun 2020 11:24:38 +0200 Subject: [PATCH] repl: add some array functions --- cmd/tools/vrepl.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/tools/vrepl.v b/cmd/tools/vrepl.v index 1a83cc7bf6..c1b3bd4450 100644 --- a/cmd/tools/vrepl.v +++ b/cmd/tools/vrepl.v @@ -198,7 +198,8 @@ fn run_repl(workdir string, vrepl_prefix string) { '=', '++', '--', '<<', '//', '/*', 'fn ', 'pub ', 'mut ', 'enum ', 'const ', 'struct ', 'interface ', 'import ', - '#include ', ':=', 'for ', 'or ' + '#include ', ':=', 'for ', 'or ', 'insert', 'delete', 'prepend', + 'sort', 'clear', 'trim', ] mut is_statement := false for pattern in possible_statement_patterns {