mirror of
https://github.com/vlang/v.git
synced 2025-09-16 02:49:31 -04:00
parser: skip parser notes when -n
is used
This commit is contained in:
parent
84fbe2728d
commit
c664a46a86
@ -2105,6 +2105,9 @@ fn (mut p Parser) note_with_pos(s string, pos token.Pos) {
|
||||
if p.pref.skip_warnings {
|
||||
return
|
||||
}
|
||||
if p.pref.skip_notes {
|
||||
return
|
||||
}
|
||||
if p.is_generated {
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user