Commit ad952b9a authored by twanvl's avatar twanvl

slightly better error messages when reading an enum value fails: also report the default used

parent 1b49a894
...@@ -760,7 +760,7 @@ error: ...@@ -760,7 +760,7 @@ error:
stylesheet and set don't refer to the same game, this is an error in the stylesheet file stylesheet and set don't refer to the same game, this is an error in the stylesheet file
unsupported field type: Unsupported field type: '%s' unsupported field type: Unsupported field type: '%s'
unsupported fill type: Unsupported fill type: '%s' unsupported fill type: Unsupported fill type: '%s'
unrecognized value: Unrecognized value: '%s' unrecognized value: Unrecognized value: '%s', defaulting to %s
expected key: Expected key: '%s' expected key: Expected key: '%s'
aborting parsing: Fatal errors encountered, aborting reading. aborting parsing: Fatal errors encountered, aborting reading.
newer version: newer version:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment