aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/anarres/cpp/Source.java
diff options
context:
space:
mode:
authorShevek <[email protected]>2008-05-08 15:06:53 +0000
committerShevek <[email protected]>2008-05-08 15:06:53 +0000
commit8247b6760685ab26fd518ea0ef13601587aad0f2 (patch)
tree9b343a1375554b44cae334fff458f778d701792b /src/java/org/anarres/cpp/Source.java
parented355ecfc271ff0e7d8dc96e4f0f5f205ef144d9 (diff)
integrate feature support
Diffstat (limited to 'src/java/org/anarres/cpp/Source.java')
-rw-r--r--src/java/org/anarres/cpp/Source.java8
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.
*