EnumReader now warns about the correct string,

parse_enum function throws if the string can not be parsed

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1341 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2009-01-11 00:45:21 +00:00
parent 8c1cf2a0a6
commit c8dd777bca
5 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
#include <gfx/color.hpp>
Alignment from_string(const String&);
bool parse_enum(const String&,Direction&);
void parse_enum(const String&,Direction&);
DECLARE_TYPEOF_COLLECTION(ScriptParseError);