ref_to_val_lk_generic processes all directives (rev. 1)

Signed-off-by: nixnodes <code@eth.si>


Signed-off-by: nixnodes <code@eth.si>