Remove VoidVal.

There are no undefined constants in IDL.
This commit is contained in:
Ms2ger 2014-11-08 18:00:04 +01:00
parent 25e9830938
commit aa83388f38
2 changed files with 0 additions and 4 deletions

View file

@ -198,8 +198,6 @@ pub enum ConstantVal {
BoolVal(bool),
/// `null` constant.
NullVal,
/// `undefined` constant.
VoidVal
}
/// Representation of an IDL constant.
@ -220,7 +218,6 @@ impl ConstantSpec {
UintVal(u) => UInt32Value(u),
DoubleVal(d) => DoubleValue(d),
BoolVal(b) => BooleanValue(b),
VoidVal => UndefinedValue(),
}
}
}