targets/XSD_toolchain_gcc
author Edouard Tisserant
Mon, 31 Aug 2020 13:54:08 +0200
changeset 2706 65f35ac97cd6
parent 1478 69fe0b81e951
permissions -rw-r--r--
Attempt to workaround problem reported about empty plc.xml after unrelated crash. Now, if etree model is corrupted in a way tostring() would generate an empty string, exception prevents saving.

          <xsd:attribute name="Compiler" type="xsd:string" use="optional" default="gcc"/>
          <xsd:attribute name="CFLAGS" type="xsd:string" use="optional" default=""/>
          <xsd:attribute name="Linker" type="xsd:string" use="optional" default="gcc"/>
          <xsd:attribute name="LDFLAGS" type="xsd:string" use="optional" default=""/>