Skip to content

Commit

Permalink
Spoofax/748
Browse files Browse the repository at this point in the history
  • Loading branch information
oskar-van-rest committed Oct 23, 2013
1 parent 9a84448 commit c94a2d1
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -85,6 +85,9 @@ public void update() {
outline = SpoofaxOutlineUtil.getOutline(parseController);
final int outline_expand_to_level = SpoofaxOutlineUtil.getOutline_expand_to_level(parseController, outline);

if (outline == null) {
outline = SpoofaxOutlineUtil.factory.makeList();
}
// workaround for https://bugs.eclipse.org/9262
if (outline.getTermType() == IStrategoTerm.APPL) {
outline = SpoofaxOutlineUtil.factory.makeList(outline);
Expand Down

0 comments on commit c94a2d1

Please sign in to comment.