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:
parent
612faac0f0
commit
05a1c3e8a3
@ -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:'
|
||||
|
Loading…
Reference in New Issue
Block a user