Fixing for blank loops and EOF

- dummyLexer is used for incrementing to end of loop without executing
  any code