Fix the uses of api.prefix. They were missing the {} around the prefix.
Remove YYLEX_PARAM and YYPARSE_PARAM in favour of %lex-param and %parse-param. This should fix #6.