Skip to content

definitions.py: Log YAML parse errors while loading definitions

Devcurmudgeon requested to merge pull/187/yaml-parse-errors into master

Created by: gtristan

This patch does not cause the build to bail out, which it probably should, but at least meaningful parse errors are printed to the console instead of just: "WARNING: problem loading "

Instead an actual parse error sample looks like:

WARNING: Error parsing while scanning for the next token found character '\t' that cannot start any token in "", line 20, column 1: GNU_TRIPLE=${GNU_TRIPLE}eabi ^

Merge request reports