1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser,ci: fix regression after eda65ad in the VLS tests

This commit is contained in:
Delyan Angelov 2022-10-19 22:29:08 +03:00
parent 612faac0f0
commit 05a1c3e8a3
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -1906,7 +1906,7 @@ pub fn (mut p Parser) error_with_pos(s string, pos token.Pos) ast.NodeError {
util.show_compiler_message(kind, pos: pos, file_path: p.file_name, message: s)
exit(1)
}
if p.pref.output_mode == .stdout {
if p.pref.output_mode == .stdout && !p.pref.check_only {
if p.pref.is_verbose {
print_backtrace()
kind = 'parser error:'