diff options
Diffstat (limited to 'src/java/org/anarres/cpp/Source.java')
-rw-r--r-- | src/java/org/anarres/cpp/Source.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/java/org/anarres/cpp/Source.java b/src/java/org/anarres/cpp/Source.java index 7b269b6..0bc1476 100644 --- a/src/java/org/anarres/cpp/Source.java +++ b/src/java/org/anarres/cpp/Source.java @@ -27,8 +27,9 @@ import java.io.PushbackReader; import java.io.Reader; import java.io.StringReader; -import java.util.List; import java.util.Iterator; +import java.util.List; +import java.util.Set; import static org.anarres.cpp.Token.*; @@ -97,10 +98,13 @@ public abstract class Source implements Iterable<Token> { return parent; } - /* pp */ void setListener(PreprocessorListener listener) { + public void setListener(PreprocessorListener listener) { this.listener = listener; } + public void setFeatures(Set<Feature> features) { + } + /** * Returns the File currently being lexed. * |