removed extraneous ;s

This commit is contained in:
Michiharu Ariza 2018-11-01 16:33:46 -07:00
parent 82248b9287
commit b1d0c58915
1 changed files with 3 additions and 3 deletions

View File

@ -217,9 +217,9 @@ struct Number
inline void fini (void)
{}
inline void set_int (int v) { format = NumInt; u.int_val = v; };
inline void set_int (int v) { format = NumInt; u.int_val = v; }
inline int to_int (void) const { return is_int ()? u.int_val: (int)to_real (); }
inline void set_fixed (int32_t v) { format = NumFixed; u.fixed_val = v; };
inline void set_fixed (int32_t v) { format = NumFixed; u.fixed_val = v; }
inline int32_t to_fixed (void) const
{
if (is_fixed ())
@ -229,7 +229,7 @@ struct Number
else
return (int32_t)(u.int_val << 16);
}
inline void set_real (float v) { format = NumReal; u.real_val = v; };
inline void set_real (float v) { format = NumReal; u.real_val = v; }
inline float to_real (void) const
{
if (is_real ())