Prechádzať zdrojové kódy

Print out the invalid subaction that was found

Yentl Van Tendeloo 7 rokov pred
rodič
commit
e3b2477901

+ 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()))
     
 ##################################
 """