소스 검색

fix: nodeset compiler ignore SymbolicName attribute to disable warning

Stefan Profanter 4 년 전
부모
커밋
2d9b25905e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      tools/nodeset_compiler/nodes.py

+ 3 - 1
tools/nodeset_compiler/nodes.py

@@ -546,7 +546,9 @@ class DataTypeNode(Node):
                             fdtype = nodeset.aliases[fdtype]
                     elif at == "Name":
                         fname = str(av)
-                    #elif at == "SymbolicName":
+                    elif at == "SymbolicName":
+                        # ignore
+                        continue
                     #    symbolicName = str(av)
                     elif at == "Value":
                         enumVal = int(av)