1
0
Fork 0
forked from len0rd/rockbox

checkwps: show a helpful error if the parser callback errors out

Change-Id: Ie3e35292ba8d74f0ff3d1bb3483a5e83aae0e6b6
This commit is contained in:
Jonathan Gordon 2013-02-26 21:12:00 +11:00
parent 657b91acfa
commit d76dca165b
4 changed files with 14 additions and 4 deletions

View file

@ -105,6 +105,9 @@ void skin_error(enum skin_errorcode error, const char* cursor)
case MULTILINE_EXPECTED:
error_message = "Expected subline separator";
break;
case GOT_CALLBACK_ERROR:
error_message = "Parser callback returned error";
break;
};
}