Add a needed break in FxAbs::Resolve()

- Fixed: FxAbs could not resolve floating point constants because it fell
  through to the error case.
This commit is contained in:
Randy Heit 2015-02-08 20:56:30 -06:00
parent c3227729e7
commit a063b48d7a
1 changed files with 1 additions and 0 deletions

View File

@ -1576,6 +1576,7 @@ FxExpression *FxAbs::Resolve(FCompileContext &ctx)
case VAL_Float:
value.Float = fabs(value.Float);
break;
default:
// shouldn't happen