# HG changeset patch # User Laurent Bessard # Date 1369779087 -7200 # Node ID a0161880582113d4bee5db8ed5206d3c19af6c3a # Parent 208103fd9ad09ecc8bf754c075495f371ccf477f Fixed bug in PLC code generated with binary, octal and hexadecimal literals diff -r 208103fd9ad0 -r a01618805821 PLCGenerator.py --- a/PLCGenerator.py Tue May 28 22:40:44 2013 +0200 +++ b/PLCGenerator.py Wed May 29 00:11:27 2013 +0200 @@ -660,9 +660,9 @@ "D": "DATE", "TOD": "TIME_OF_DAY", "DT": "DATE_AND_TIME", - "2": "ANY", - "8": "ANY", - "16": "ANY", + "2": None, + "8": None, + "16": None, } def ComputeConnectionTypes(self, pou): body = pou.getbody()