scanner: add a colon to error messages (#4818)

pull/4812/head
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
1 changed files with 1 additions and 1 deletions

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)
}