package org.metaborg.meta.nabl2.spoofax.primitives;

import org.metaborg.meta.nabl2.stratego.StrategoTermIndices;
import org.spoofax.interpreter.core.IContext;
import org.spoofax.interpreter.core.InterpreterException;
import org.spoofax.interpreter.library.AbstractPrimitive;
import org.spoofax.interpreter.stratego.Strategy;
import org.spoofax.interpreter.terms.IStrategoTerm;

public class SG_erase_ast_indices extends AbstractPrimitive {

    public SG_erase_ast_indices() {
        super(SG_erase_ast_indices.class.getSimpleName(), 0, 1);
    }

    @Override public boolean call(IContext env, Strategy[] svars, IStrategoTerm[] tvars) throws InterpreterException {
        env.setCurrent(StrategoTermIndices.erase(env.current(), env.getFactory()));
        return true;
    }

}
@@ -536,9 +536,9 @@
  0, 
-1
+0
 );%0A 

Fix (copy-paste?) bug