repl: fix one-line for-loop printing
parent
2adfbfc830
commit
c95a1138ba
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue