z80-tools/src/nl/grauw/glass/directives/Directive.java

14 wiersze
270 B
Java

package nl.grauw.glass.directives;
import nl.grauw.glass.Line;
import nl.grauw.glass.Scope;
public abstract class Directive {
public void register(Scope scope, Line line) {
if (line.getLabel() != null)
scope.addSymbol(line.getLabel(), line.getScope());
}
}