diff -r b112bfdde5cc -r 5b6ad7a7fd9d plcopen/structures.py --- a/plcopen/structures.py Sat Aug 19 21:06:54 2017 +0300 +++ b/plcopen/structures.py Mon Aug 21 21:55:18 2017 +0300 @@ -77,9 +77,9 @@ [GetBlockInfos(pous) for pous in lib.getpous()]} for libname, lib in StdBlckLibs.iteritems()] -#------------------------------------------------------------------------------- +# ------------------------------------------------------------------------------- # Test identifier -#------------------------------------------------------------------------------- +# ------------------------------------------------------------------------------- IDENTIFIER_MODEL = re.compile( "(?:%(letter)s|_(?:%(letter)s|%(digit)s))(?:_?(?:%(letter)s|%(digit)s))*$" % @@ -92,9 +92,9 @@ """ return IDENTIFIER_MODEL.match(identifier) is not None -#------------------------------------------------------------------------------- +# ------------------------------------------------------------------------------- # Standard functions list generation -#------------------------------------------------------------------------------- +# ------------------------------------------------------------------------------- def csv_file_to_table(file): @@ -285,9 +285,9 @@ BlkLst = StdBlckDct.setdefault(desc["name"], []) BlkLst.append((section["name"], desc)) -#------------------------------------------------------------------------------- +# ------------------------------------------------------------------------------- # Languages Keywords -#------------------------------------------------------------------------------- +# ------------------------------------------------------------------------------- # Keywords for Pou Declaration POU_BLOCK_START_KEYWORDS = ["FUNCTION", "FUNCTION_BLOCK", "PROGRAM"]