mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 03:19:51 +00:00
pkg/ast: print full file name in errors
Print full names so that github annotations work. I.e. sys/linux/sys.txt instead of just sys.txt.
This commit is contained in:
parent
2d4efabd02
commit
554f8f39c5
@ -67,7 +67,7 @@ func ParseGlob(glob string, errorHandler ErrorHandler) *Description {
|
||||
errorHandler(Pos{}, fmt.Sprintf("failed to read input file: %v", err))
|
||||
return nil
|
||||
}
|
||||
desc1 := Parse(data, filepath.Base(f), errorHandler)
|
||||
desc1 := Parse(data, f, errorHandler)
|
||||
if desc1 == nil {
|
||||
desc = nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user