-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2007-2008 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include <sys/param.h>
#include <msp/strings/formatter.h>
#include "binaryparser.h"
{
switch(de.args[j])
{
- case 'i':
+ case IntType::signature:
result.args.push_back(parse_int());
break;
- case 'f':
+ case FloatType::signature:
result.args.push_back(parse_float());
break;
- case 's':
+ case StringType::signature:
result.args.push_back(parse_string());
break;
- case 'b':
+ case BoolType::signature:
result.args.push_back(parse_bool());
break;
- case 'e':
- result.args.push_back(Value(ENUM, parse_enum()));
+ case SymbolType::signature:
+ result.args.push_back(Symbol(parse_enum()));
break;
}
}