Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjouault2010-01-06 10:38:09 +0000
committerfjouault2010-01-06 10:38:09 +0000
commit8f64ea30ab2202cfbe686b706c8cbc89b542d032 (patch)
treeefbedce97c5726075d496a416580a984ff4547bf /dsls/ATL/Compiler
parent6e84d6ac2ccf22d5cabe83781040256c0ac685ca (diff)
downloadorg.eclipse.atl-8f64ea30ab2202cfbe686b706c8cbc89b542d032.tar.gz
org.eclipse.atl-8f64ea30ab2202cfbe686b706c8cbc89b542d032.tar.xz
org.eclipse.atl-8f64ea30ab2202cfbe686b706c8cbc89b542d032.zip
added support for the <:= assignment operator in Binding statements (i.e., finishing solving bug #211421)
Diffstat (limited to 'dsls/ATL/Compiler')
-rw-r--r--dsls/ATL/Compiler/ATL.acg4
1 files changed, 4 insertions, 0 deletions
diff --git a/dsls/ATL/Compiler/ATL.acg b/dsls/ATL/Compiler/ATL.acg
index b62c74d5..a8370d0c 100644
--- a/dsls/ATL/Compiler/ATL.acg
+++ b/dsls/ATL/Compiler/ATL.acg
@@ -1842,6 +1842,10 @@ acg ATL startsWith Unit {
code BindingStat | self.source isa NavigationOrAttributeCallExp {
analyze self.source.source
+ if(self.isAssignment) {
+ push self.source.name
+ call 'J.refUnSetValue(S):J'
+ }
analyze self.value
set self.source.name
}

Back to the top