]> gerrit.simantics Code Review - simantics/platform.git/commit
(refs #7307) Added features field to SCL module header 29/629/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Thu, 15 Jun 2017 07:14:11 +0000 (10:14 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Thu, 15 Jun 2017 07:14:11 +0000 (10:14 +0300)
commit172abed5dbf73c1304a7a95bb8504ea293556948
treeefa43ad1b62f495ecf21b46753dcb729795a7b6b
parent6abae37c9b120020fbd8a0519a3d19bb4b3335c3
(refs #7307) Added features field to SCL module header

SCL language features are now enabled in the module header with syntax
module { features = [chr, fields] }
instead of
module { chr, fields }

Change-Id: Ibc533bc246efb29313e66576988913b09839b380
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/header/ModuleHeader.java
tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR10.scl
tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR5.scl
tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR6.scl
tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR7.scl
tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR8.scl
tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR9.scl
tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Record2.scl