vrepl: fix declaring structs
parent
66cb61c242
commit
d73bedc1fb
|
@ -160,6 +160,7 @@ fn run_repl(workdir string, vrepl_prefix string) {
|
||||||
if !(filter_line.contains('=') || filter_line.contains('++') ||
|
if !(filter_line.contains('=') || filter_line.contains('++') ||
|
||||||
filter_line.contains('--') || filter_line.contains('<<') ||
|
filter_line.contains('--') || filter_line.contains('<<') ||
|
||||||
filter_line.contains('//') || filter_line.contains('/*') ||
|
filter_line.contains('//') || filter_line.contains('/*') ||
|
||||||
|
filter_line.contains('struct') ||
|
||||||
filter_line.starts_with('import') || r.line == '') && !func_call {
|
filter_line.starts_with('import') || r.line == '') && !func_call {
|
||||||
temp_line = 'println($r.line)'
|
temp_line = 'println($r.line)'
|
||||||
temp_flag = true
|
temp_flag = true
|
||||||
|
|
Loading…
Reference in New Issue