relay-core: fix silly error in code parser interface