kalendopy: test for def.
kalendopy: test for lparen.
kalendopy: test for rparen.
kalendopy: test for number.
kalendopy: test for name.
fix a typo.