Skip to content
Advertisement

Tag: bison

Flex and Bison: Lexical analysis stops before end of input

I am using Flex and Bison to parse a simplified SQL grammar. I am running into an issue where Flex will stop tokenizing before the end of the file. When I pass the test case containing just: create database this; everything works fine and the tokens CREATE, DATEABASE, and ID are created. But when I pass a test case containing

Advertisement