mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
fix a bug in strings.Builder and wrap up vfmt
This commit is contained in:
parent
1cda5c1bc8
commit
d9b29bfb4e
5 changed files with 21 additions and 9 deletions
|
@ -76,7 +76,7 @@ fn new_scanner_file(file_path string) &Scanner {
|
|||
fn new_scanner(text string) &Scanner {
|
||||
return &Scanner {
|
||||
text: text
|
||||
fmt_out: strings.new_builder(10000)
|
||||
fmt_out: strings.new_builder(1000)
|
||||
should_print_line_on_error: true
|
||||
should_print_errors_in_color: true
|
||||
should_print_relative_paths_on_error: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue