Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validator: Conform to the new parser and preprocessor output style
Because I overlooked the validator's dependency on the preprocessor lineno_string() function, we wound up with badly-formatted output like the following: > 20140619 03:16:32 error validation: > gui/default/widget/slider_minimal.cfg:53 > included from gui/default.cfg:30 > included from gui/default/widget/slider_minimal.cfg:100 > included from gui/default.cfg:30: tag [wrong_tag] may not be used in [resolution] This commit changes the validator's error formatting functions to produce output more akin to the parser/preprocessor under the new scheme introduced in version 1.11.10: > 20140619 03:17:36 error validation: Tag [wrong_tag] may not be used in [resolution] > at gui/default/widget/slider_minimal.cfg:53 > included from gui/default.cfg:30 > included from gui/default/widget/slider_minimal.cfg:100 > included from gui/default.cfg:30 There are no translatable strings involved in this change, so this commit may be safely backported to 1.12.
- Loading branch information