X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ferrors%2FErrorLog.java;fp=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ferrors%2FErrorLog.java;h=2287f919bbea59a99d55f123e46d107bff31e076;hp=13e80fc6d62755e6d162d14536b74cff6e32e160;hb=e73c1660b2f4d2a03784451e9e6afe1552b00877;hpb=70b7caa98bc87c8b113993309f0adf9201f62671 diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/errors/ErrorLog.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/errors/ErrorLog.java index 13e80fc6d..2287f919b 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/errors/ErrorLog.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/errors/ErrorLog.java @@ -61,4 +61,8 @@ public class ErrorLog { public String toString() { return getErrorsAsString(); } + + public int getErrorCount() { + return errors.size(); + } }