Added r_sanity_check for nested literal keywords.