calc: minor adjustments

Signed-off-by: Peter Williams <pwil3058@gmail.com>
parser: improve error reporting
Removes need to catch %error and %lexerror in dunnart.ddgs.

Signed-off-by: Peter Williams <pwil3058@gmail.com>