Fix bison and flex state API. But state stack have problem.
Temp backip. Need to implement location trace first.