Re: [PATCH wayland] scanner: Print filename on DTD validation error

2016-02-01 Thread Bryce Harrington
On Tue, Jan 26, 2016 at 12:53:00PM -0600, Derek Foreman wrote: > On 26/01/16 01:14 AM, Hardening wrote: > > Le 25/01/2016 10:28, Jonas Ådahl a écrit : > >> Don't just print prefix the errors with "protocol", but the actual file > >> name, if wayland-scanner was passed with the filename of the proto

Re: [PATCH wayland] scanner: Print filename on DTD validation error

2016-01-26 Thread Derek Foreman
On 26/01/16 01:14 AM, Hardening wrote: > Le 25/01/2016 10:28, Jonas Ådahl a écrit : >> Don't just print prefix the errors with "protocol", but the actual file >> name, if wayland-scanner was passed with the filename of the protocol >> file. If wayland-scanner is reading from stdin, errors will be p

Re: [PATCH wayland] scanner: Print filename on DTD validation error

2016-01-25 Thread Hardening
Le 25/01/2016 10:28, Jonas Ådahl a écrit : > Don't just print prefix the errors with "protocol", but the actual file > name, if wayland-scanner was passed with the filename of the protocol > file. If wayland-scanner is reading from stdin, errors will be prefixed > with "" instead of "protocol". >

[PATCH wayland] scanner: Print filename on DTD validation error

2016-01-25 Thread Jonas Ådahl
Don't just print prefix the errors with "protocol", but the actual file name, if wayland-scanner was passed with the filename of the protocol file. If wayland-scanner is reading from stdin, errors will be prefixed with "" instead of "protocol". Signed-off-by: Jonas Ådahl --- src/scanner.c | 15 +