parser: make config inheritance configurable

used in a custom pattern in star