]> gerrit.simantics Code Review - simantics/platform.git/commit
Reverted if-without-else feature in SCL 27/227/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Tue, 27 Dec 2016 14:30:02 +0000 (16:30 +0200)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Tue, 27 Dec 2016 14:30:02 +0000 (16:30 +0200)
commit70b7caa98bc87c8b113993309f0adf9201f62671
tree2c6160e833778e76ff3a5d0d118008109e1cc5fa
parent8d60995e2ff936c9a360c7fdb69cc4ed44666bc5
Reverted if-without-else feature in SCL

Removed possibility to have if-then -construct without else, because the
implementation changed parsing rules and some existing code was broken.
The feature might be added in future, if better implementation is found.

refs #6894
related to change (refs #6888)

Change-Id: I1c729c4176cfaf867ba3dbf13fd73fbc14f41e61
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/parser/SCLPostLexer.java
tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/ModuleRegressionTests.java