Fix for error found during Jenkins Run - Syntax Error Validation Improvements

git-svn-id: svn+ssh://svn.code.sf.net/p/pcgen/code/Trunk@22281 ef53c05b-3124-4d59-ae7d-fe3273f42be7