Map a declarator to an object declarator in the language definition.
(ldm-declor-obj declor) → (mv erp declor1)
We map the direct declarator to an object declarator, and then we recursively add pointer layers based on the pointer part of the declarator.
This function is called when we expect an object declarator, not a function declarator, for which we have a separate function.