Fix dotted notation and incomplete input error reporting

Fixes #72