Inhibit autoparse when looking for an enum.

This has effects for example in complex systems like CMSSW or LHCb.