]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Added module header feature to SCL language. 15/315/3
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Wed, 1 Feb 2017 14:40:11 +0000 (16:40 +0200)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Thu, 2 Feb 2017 11:31:35 +0000 (13:31 +0200)
Module header must be in the beginning of the module. However, comments
are allowed before the header. Header has the following form:
    module {
        field = value,
        field = value
    }

Currently field name classLoader is supported. It makes it possible to
specify which classLoader is used to resolve importJava declarations.
    module {
        classLoader = "my.bundle.name.somewhere"
    }

refs #6931

Change-Id: Ibca2152597a738d1e4641cf6262af06069b38af5


No differences found