fix parser with bison 3

Reviewed By: @Jo-Con-El

Differential Revision: D1460649