parser: add comments to generated semantic action code (for human readers)

Signed-off-by: Peter Williams <pwil3058@gmail.com>
Merge changes from github

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