1
0
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:
eyelash 2020-05-10 16:29:15 +02:00 committed by GitHub
parent f396f70ae7
commit 72dfe11fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1023,7 +1023,7 @@ pub fn (s &Scanner) error(msg string) {
line_nr: s.line_nr
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)
}