Add YIELD macro in flex file.
Refactor flex file.
Add comments to flex file.