浏览代码

Print out the invalid subaction that was found

Yentl Van Tendeloo 7 年之前
父节点
当前提交
e3b2477901
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/python_sccd/python_sccd_compiler/sccd_constructs.py

+ 1 - 1
src/python_sccd/python_sccd_compiler/sccd_constructs.py

@@ -212,7 +212,7 @@ class SubAction(Visitable):
             tag = xml_element.tag.lower()
             if subcls.check(tag):
                 return subcls(xml_element)
-        raise CompilerException("Invalid subaction.")
+        raise CompilerException("Invalid subaction: " + str(xml_element.tag.lower()))
     
 ##################################
 """