Fixed some declaration after statement warnings
Removed unnecessary local variable

Removing the variable EATEN_SPACE helps to partially fix the
"declaration after statement" warning reported for the function
parseNextToken.
Fixed declaration after statement warning