rebuilding parser using parse table