yacc: Improve Act example.