I'm trying to compile a contract in the solidity browser compiler and get this error:
Untitled:19:9: Error: Expected primary expression.
}
^
Is this due to the throw; statement?
contract user {
address public owner;
function user(){
owner = msg.sender;
}
function kill(){
suicide(owner);
}
modifier onlyOwner{
if (msg.sender != owner){
throw;
}else{
-
}
}
}
