Skip to content

Commit

Permalink
LanguageBuilder: initialize all Languages before building them
Browse files Browse the repository at this point in the history
  • Loading branch information
fcoulon committed Aug 28, 2015
1 parent 662b5dd commit 8f8da0d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ class LanguageBuilder extends DispatchMelangeProcessor{
registry = newHashMap
typeRefBuilder = typeRefBuilderFactory.create(root.eResource.resourceSet)

root.languages.forEach[language |
language.initialize
]
root.languages.forEach[language |
build(language, newArrayList)
]
Expand All @@ -85,8 +88,7 @@ class LanguageBuilder extends DispatchMelangeProcessor{

var EPackage base = null
var needNewEcore = false

language.initialize


/****************************
* STEP 1: merge ecore files
Expand Down

0 comments on commit 8f8da0d

Please sign in to comment.