mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
Dependency following now works
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@95 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -227,6 +227,11 @@ void Reader::handle(IndexMap<K,V>& m) {
|
||||
/* warning: unknown value */ \
|
||||
warning(_("Unrecognized value: ") + value); \
|
||||
} \
|
||||
} \
|
||||
bool parse_enum(const String& value, Enum& out) { \
|
||||
EnumReader reader(value); \
|
||||
reflect_ ## Enum(out, reader); \
|
||||
return reader.isDone(); \
|
||||
}
|
||||
|
||||
/// 'Tag' to be used when reflecting enumerations for Reader
|
||||
|
||||
Reference in New Issue
Block a user