Fixed small bug in parser, scanner now works correctly.