Skip to content
Commit 7b42788f authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Bryce Harrington
Browse files

scanner: Print filename on DTD validation error



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 "<stdin>" instead of "protocol".

Signed-off-by: default avatarJonas Ådahl <jadahl@gmail.com>
Reviewed-by: default avatarDavid Fort <contact@hardening-consulting.com>
Reviewed-by: default avatarDerek Foreman <derekf@osg.samsung.com>
Reviewed-by: default avatarBryce Harrington <bryce@osg.samsung.com>
parent 0d56e380
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment