Skip to content

Commit

Permalink
fmt parser.v
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyi98 committed Dec 26, 2023
1 parent 7c90926 commit b7fe90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/parser/parser.v
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ pub fn parse_vet_file(path string, table_ &ast.Table, pref_ &pref.Preferences) (
p.set_path(path)
if p.scanner.text.contains_any_substr(['\n ', ' \n']) {
source_lines := os.read_lines(path) or { []string{} }
mut is_vfmt_off := false
mut is_vfmt_off := false
for lnumber, line in source_lines {
if line.starts_with('\x01 vfmt off') {
is_vfmt_off = true
Expand Down

0 comments on commit b7fe90d

Please sign in to comment.