mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
scanner: add a colon to error messages (#4818)
This commit is contained in:
parent
f396f70ae7
commit
72dfe11fa5
@ -1023,7 +1023,7 @@ pub fn (s &Scanner) error(msg string) {
|
|||||||
line_nr: s.line_nr
|
line_nr: s.line_nr
|
||||||
pos: s.pos
|
pos: s.pos
|
||||||
}
|
}
|
||||||
eprintln(util.formatted_error('error', msg, s.file_path, pos))
|
eprintln(util.formatted_error('error:', msg, s.file_path, pos))
|
||||||
exit(1)
|
exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user