+ name in the current module.
+
+ If we there is no scope and we know we have a bare symbol, then short
+ circuit everything and call d_lookup_symbol directly.
+ This isn't an optimization, rather it allows us to pass LANGDEF which
+ is needed for primitive type lookup. */
+
+ if (scope_len == 0 && strchr (name, '.') == NULL)
+ return d_lookup_symbol (langdef, name, block, domain, 1);