Fix #25.
This commit is contained in:
parent
a37f4a967e
commit
146f892f37
|
@ -320,7 +320,7 @@ private:
|
||||||
if (next.type == tok!";" || next.type == tok!"("
|
if (next.type == tok!";" || next.type == tok!"("
|
||||||
|| next.type == tok!")" || next.type == tok!","
|
|| next.type == tok!")" || next.type == tok!","
|
||||||
|| next.type == tok!"{" || next.type == tok!"."
|
|| next.type == tok!"{" || next.type == tok!"."
|
||||||
|| next.type == tok!":")
|
|| next.type == tok!":" || next.type == tok!"*")
|
||||||
{
|
{
|
||||||
writeToken();
|
writeToken();
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
complex_t opMul(real y) {
|
||||||
|
return this*complex_t(y);}
|
|
@ -0,0 +1,4 @@
|
||||||
|
complex_t opMul(real y)
|
||||||
|
{
|
||||||
|
return this * complex_t(y);
|
||||||
|
}
|
Loading…
Reference in New Issue