fixed missing ~ operator
better support for statements without effect, tweaked testfiles, added goto warning