Skip to content

Commit

Permalink
When generating StandaloneSetup, genmodels may be null
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Degueule committed Mar 30, 2015
1 parent dab863b commit 553bf70
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -80,8 +80,8 @@ class MelangeJvmModelInferrer extends AbstractModelInferrer
«IF mm.resourceType == ResourceType.XTEXT && mm.xtextSetupRef !== null»
«mm.xtextSetupRef.qualifiedName».doSetup() ;
«ELSE»
«FOR gm : mm.genmodels»
«FOR gp : gm.genPackages»
«FOR gm : mm.genmodels.filterNull»
«FOR gp : gm.genPackages.filterNull»
org.eclipse.emf.ecore.EPackage.Registry.INSTANCE.put(
«gp.packageFqn».eNS_URI,
«gp.packageFqn».eINSTANCE
Expand Down

0 comments on commit 553bf70

Please sign in to comment.