提交 b1d0c589 编写于 作者: M Michiharu Ariza

removed extraneous ;s

上级 82248b92
...@@ -217,9 +217,9 @@ struct Number ...@@ -217,9 +217,9 @@ struct Number
inline void fini (void) 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 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 inline int32_t to_fixed (void) const
{ {
if (is_fixed ()) if (is_fixed ())
...@@ -229,7 +229,7 @@ struct Number ...@@ -229,7 +229,7 @@ struct Number
else else
return (int32_t)(u.int_val << 16); 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 inline float to_real (void) const
{ {
if (is_real ()) if (is_real ())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册