skeet70 / pascal-compiler

A project Pascal compiler written in Haskell.
5 stars 1 forks source link

commentFSA needs to call getToken after completing. #32

Closed iduhetonas closed 11 years ago

iduhetonas commented 11 years ago

Currently, the commentFSA function returns an empty lexeme and the remaining part of the String, but this will cause problems with the Driver. Instead, we need to call getToken within commentFSA to continue with the state-machine process.