Flex Bison C++ Template/Example