Fixed a buffer overflow caused in parse table generator. This was caused from indexing the wrong array.