diff options
author | Shevek <[email protected]> | 2008-05-08 15:06:53 +0000 |
---|---|---|
committer | Shevek <[email protected]> | 2008-05-08 15:06:53 +0000 |
commit | 8247b6760685ab26fd518ea0ef13601587aad0f2 (patch) | |
tree | 9b343a1375554b44cae334fff458f778d701792b /src/java/org/anarres/cpp/Source.java | |
parent | ed355ecfc271ff0e7d8dc96e4f0f5f205ef144d9 (diff) |
integrate feature support
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. * |