Skip to content

CIF PLC code generator generates escaped candidate names

CifToPlcTrans.getPlcName contains:

String candidate = getAbsName(obj).replace('.', '_');

This generates candidate names based on escaped absolute names of CIF objects. It should be:

String candidate = getAbsName(obj, false).replace('.', '_');

This avoid escaping and thus $ characters in the candidate names.

We should add a test for this as well.