Fixed some issues with RecursiveDescentParser. Seems to be working but needs more testing.