parser: fix input declarations
Merge pull request #26 from emilyhsia/master

parser: fix input declarations