Abort compilation if AST is empty
Fix Xtext version: [2.7.0,2.8.0)