compatible with bison 2.4.1